#include <MRIntersectionPrecomputes.h>
Public Member Functions | |
| IntersectionPrecomputes ()=default | |
| IntersectionPrecomputes (const Vector3< T > &dir) | |
Public Attributes | |
| Vector3< T > | invDir |
| int | maxDimIdxZ = 2 |
| int | idxX = 0 |
| int | idxY = 1 |
| Vector3i | sign |
| stores signs of direction vector; | |
| T | Sx |
| precomputed factors | |
| T | Sy |
| T | Sz |
stores useful precomputed values for presented direction vector
allows to avoid repeatable computations during intersection finding