MeshLib
 
Loading...
Searching...
No Matches
Ray Box Intersection

Classes

struct  MR::RayOrigin< T >
 

Functions

template<typename T >
bool MR::rayBoxIntersect (const Box3< T > &box, const RayOrigin< T > &rayOrigin, T &t0, T &t1, const IntersectionPrecomputes< T > &prec)
 
template<typename T = float>
bool MR::rayBoxIntersect (const Box3< T > &box, const Line3< T > &line, T t0, T t1)
 

Detailed Description

Function Documentation

◆ rayBoxIntersect() [1/2]

template<typename T = float>
bool MR::rayBoxIntersect ( const Box3< T > & box,
const Line3< T > & line,
T t0,
T t1 )

◆ rayBoxIntersect() [2/2]

template<typename T >
bool MR::rayBoxIntersect ( const Box3< T > & box,
const RayOrigin< T > & rayOrigin,
T & t0,
T & t1,
const IntersectionPrecomputes< T > & prec )