#include <MRIntersectionPrecomputes2.h>
Public Member Functions | |
| IntersectionPrecomputes2 ()=default | |
| IntersectionPrecomputes2 (const Vector2< T > &dir) | |
Public Attributes | |
| Vector2< T > | invDir |
| int | maxDimIdxY = 1 |
| int | idxX = 0 |
| Vector2i | sign |
| stores signs of direction vector; | |
| T | Sx |
| precomputed factors | |
| T | Sy |
stores useful precomputed values for presented direction vector
allows to avoid repeatable computations during intersection finding
|
default |
|
inline |
| int MR::IntersectionPrecomputes2< T >::idxX = 0 |
| Vector2<T> MR::IntersectionPrecomputes2< T >::invDir |
| int MR::IntersectionPrecomputes2< T >::maxDimIdxY = 1 |
| Vector2i MR::IntersectionPrecomputes2< T >::sign |
stores signs of direction vector;
| T MR::IntersectionPrecomputes2< T >::Sx |
precomputed factors
| T MR::IntersectionPrecomputes2< T >::Sy |