/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { Vector2d, Vector3f, } from "@vertexvis/scene-view-protos/core/protos/geometry_pb";
import { random } from "./random";
export function makeVector3f(x, y, z) {
    const vector = new Vector3f();
    vector.setX(x !== null && x !== void 0 ? x : random.floating());
    vector.setY(y !== null && y !== void 0 ? y : random.floating());
    vector.setZ(z !== null && z !== void 0 ? z : random.floating());
    return vector;
}
export function makeVector2d(x, y) {
    const v = new Vector2d();
    v.setX(x !== null && x !== void 0 ? x : random.floating());
    v.setY(y !== null && y !== void 0 ? y : random.floating());
    return v;
}
//# sourceMappingURL=geometry.js.map
