![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Ray representation for intersection testing. More...
#include <shammath/include/shammath/AABB.hpp>
Collaboration diagram for shammath::Ray< T >:Public Types | |
| using | T_prop = shambase::VectorProperties< T > |
| using | Tscal = typename T_prop::component_type |
Public Member Functions | |
| Ray (T origin, T direction) | |
| Construct a normalized ray from origin and direction. | |
Public Attributes | |
| T | origin |
| T | direction |
| T | inv_direction |
Ray representation for intersection testing.
| T | Vector type for coordinates |
| using shammath::Ray< T >::T_prop = shambase::VectorProperties<T> |
| using shammath::Ray< T >::Tscal = typename T_prop::component_type |
|
inline |
| T shammath::Ray< T >::direction |
| T shammath::Ray< T >::inv_direction |
| T shammath::Ray< T >::origin |