MeshLib
 
Loading...
Searching...
No Matches
MR::IntersectionPrecomputes< T > Struct Template Reference

#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;
 
Sx
 precomputed factors
 
Sy
 
Sz
 

Detailed Description

template<typename T>
struct MR::IntersectionPrecomputes< T >

stores useful precomputed values for presented direction vector

allows to avoid repeatable computations during intersection finding


The documentation for this struct was generated from the following files: