Allolib  1.0
C++ Components For Interactive Multimedia
al::Ray< T > Class Template Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/math/al_Ray.hpp>

Public Member Functions

 Ray (Vec< 3, T > origin, Vec< 3, T > direction)
 
void set (Vec< 3, T > origin, Vec< 3, T > direction)
 
Vec< 3, T > operator() (T t)
 
Vec< 3, T > & origin ()
 
Vec< 3, T > & direction ()
 
intersectPlane (Vec< 3, T > p0, Vec< 3, T > n)
 
intersectCircle (Vec< 3, T > p0, Vec< 3, T > n, T rmax, T rmin=0.0)
 
intersectSphere (Vec< 3, T > cen, T radius)
 
bool intersectsSphere (Vec< 3, T > cen, T radius)
 
intersectBox (Vec< 3, T > cen, Vec< 3, T > scl)
 
bool intersectsBox (Vec< 3, T > cen, Vec< 3, T > scl)
 
intersectCylinderXY (T radius)
 
intersectCylinderXZ (T radius)
 
intersectAllosphere ()
 

Public Attributes

Vec< 3, T > o
 
Vec< 3, T > d
 

Detailed Description

template<class T>
class al::Ray< T >

Ray for intersection tests

Definition at line 58 of file al_Ray.hpp.


The documentation for this class was generated from the following file: