Expand description
Where a ray crosses a triangle, in single or double precision, one test for every caller so that neighbouring triangles agree on the edge they share.
Traits§
- RayReal
- A coordinate
ray_triangleworks in, with its tolerances.
Functions§
- ray_
triangle - The ray parameter where the ray from
originalongdirectioncrosses triangleabc, negative for a crossing behind the origin; whether one behind counts is the caller’s to say. For a unit direction it is a distance. A ray parallel to the triangle’s plane, or a triangle with no area, is absent.