@pmndrs/bvh
Docs
GitHub
Preparing search index...
@pmndrs/bvh
toFloat32Ray
Function toFloat32Ray
toFloat32Ray
(
origin
:
readonly
number
[]
,
direction
:
readonly
number
[]
,
tMin
:
number
,
tMax
:
number
,
)
:
TraceRay
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
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Docs
GitHub
@pmndrs/bvh
Loading...
Rounds to f32 so the CPU oracle and the GPU see exactly the same ray.