fast-mesh-wasm
    Preparing search index...

    Interface RayHit

    A ray hit from Scene.raycast, in world coordinates.

    interface RayHit {
        barycentric: Vec3;
        distance: number;
        mesh: MeshHandle;
        point: Vec3;
        triangle: number;
    }
    Index
    barycentric: Vec3

    Barycentric coordinates of point in the triangle.

    distance: number

    The world distance from the ray origin.

    point: Vec3
    triangle: number

    The triangle slot hit.