#include <IceRay.h>
Public Member Functions | |
inline_ float | Distance (const Point &point, float *t=null) const |
inline_ | Ray () |
Constructor. | |
inline_ | Ray (const Point &orig, const Point &dir) |
Constructor. | |
inline_ | Ray (const Ray &ray) |
Copy constructor. | |
float | SquareDistance (const Point &point, float *t=null) const |
inline_ | ~Ray () |
Destructor. | |
Public Attributes | |
Point | mDir |
Normalized direction. | |
Point | mOrig |
Ray origin. |
inline_ float Ray::Distance | ( | const Point & | point, |
float * | t = null |
||
) | const [inline] |
float Ray::SquareDistance | ( | const Point & | point, |
float * | t = null |
||
) | const |