@pmndrs/bvh
    Preparing search index...

    Interface TraceRay

    A ray on the CPU side, as BvhRay holds it on the GPU.

    interface TraceRay {
        direction: readonly [number, number, number];
        origin: readonly [number, number, number];
        tMax: number;
        tMin: number;
    }
    Index
    direction: readonly [number, number, number]

    Normalized.

    origin: readonly [number, number, number]
    tMax: number
    tMin: number