Expand description
A ray in 3D space.
Structs§
- Ray
- A struct representing a ray in 3D space.
- RayHit
- A struct representing a hit record in ray tracing.
A
Hitrecord contains the IDs of the primitive, geometry and instance that were hit, as well as thet(distance) value at which the hit occurred.
Constants§
Functions§
- safe_
inverse - Computes the inverse of
xavoiding division by zero.