ludus::foundation::math::RayHit¶
Ludus Wiki · API overview · Browse API
Struct
Ray/primitive hit: on Hit, EntryT/ExitT are the parametric interval (float64).
On Miss the fields are neutral zeros and must not be interpreted.
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
#include <ludus/foundation/math/geometry.hpp>
struct ludus::foundation::math::RayHit
Fields¶
Result¶
HitResult ludus::foundation::math::RayHit::Result = HitResult::Miss
Related types: HitResult
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
EntryT¶
float64 ludus::foundation::math::RayHit::EntryT = 0.0
Related types: float64
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
ExitT¶
float64 ludus::foundation::math::RayHit::ExitT = 0.0
Related types: float64
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp