/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { Point, Vector3 } from "@vertexvis/geometry";
import Chance from "chance";
export const random = new Chance();
export function randomPoint() {
    return Point.create(random.integer(), random.integer());
}
export function randomVector3() {
    return Vector3.create(random.floating(), random.floating(), random.floating());
}
export function randomNormalVector3() {
    return Vector3.normalize(Vector3.create(random.floating({
        min: 0,
        max: 1,
    }), random.floating({
        min: 0,
        max: 1,
    }), random.floating({
        min: 0,
        max: 1,
    })));
}
//# sourceMappingURL=random.js.map
