MeshLib
 
Loading...
Searching...
No Matches
MRRayBoxIntersection2.h File Reference
#include "MRBox.h"
#include "MRIntersectionPrecomputes2.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

template<typename T >
bool MR::rayBoxIntersect (const Box2< T > &box, const Vector2< T > &rayOrigin, T &t0, T &t1, const IntersectionPrecomputes2< T > &prec)
 
template<typename T = float>
bool MR::rayBoxIntersect (const Box2< T > &box, const Line2< T > &line, T t0, T t1)