Module cast

Source
Expand description

First surface hit along a ray.

Which triangle is hit is decided by the same exact orient3d parity the containment query uses, so a caller cannot get “the ray hits nothing” from one and “inside” from the other. Only the hit PARAMETER is computed in f64, and it is a reported measurement rather than a decision input (ADR 0045).

Structs§

Hit
Where a ray first meets a mesh.

Functions§

ray_cast
First triangle the ray from origin along direction strikes.