Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Ray Class Reference

A basic Ray class with extra data for faster Ray-BBox intersection. More...

#include <math/Ray.h>

List of all members.

Public Member Functions

 Ray (const Vector3 &a, const Vector3 &b)
 Ray (const Ray &r)
Rayoperator= (const Ray &r)
Vector3 origin () const
Vector3 direction () const
Vector3 invDirection () const
Vector3 inverseDir () const
void setOrigin (const Vector3 &v)
void setDirection (const Vector3 &v)
Vector3 pointAtParameter (double t) const

Public Attributes

double tmin
double tmax
Vector3 data [3]
int posneg [6]


Detailed Description

A basic Ray class with extra data for faster Ray-BBox intersection.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 16:15:26 2005 for galileo by  doxygen 1.4.3