Expand description
Watertight ray-triangle intersection (Woop, Benthin, Wald 2013).
This module implements the watertight ray-triangle intersection algorithm that guarantees no cracks or double-hits on shared edges between adjacent triangles. The key idea is to transform coordinates so the ray is axis-aligned along +Z, then evaluate edge functions using identical floating-point operations on shared vertices.
Structs§
- RayTriangle
Hit - Result of a watertight ray-triangle intersection test.
Functions§
- watertight_
ray_ triangle_ intersect - Watertight ray-triangle intersection (Woop, Benthin, Wald 2013).