@pmndrs/bvh
    Preparing search index...

    Function toFloat32Ray

    • Rounds to f32 so the CPU oracle and the GPU see exactly the same ray.

      Parameters

      • origin: readonly number[]
      • direction: readonly number[]
      • tMin: number
      • tMax: number

      Returns TraceRay