Public Member Functions | |
| ray (const Ogre::Ray &vec) | |
| operator Ogre::Ray () const | |
| ray (const vector3 &origin, const vector3 &direction) | |
| void | setOrigin (const vector3 &origin) |
| const vector3 & | getOrigin (void) const |
| void | setDirection (const vector3 &dir) |
| const vector3 & | getDirection (void) const |
| vector3 | getPoint (real t) const |
| vector3 | operator* (real t) const |
| bool | intersects (const plane &pl, vector3 *point=nullptr, real *tOut=nullptr) const |
Protected Attributes | |
| vector3 | mOrigin |
| vector3 | mDirection |
|
inline |
Gets the direction of the ray.
|
inline |
Gets the origin of the ray.
|
inline |
Gets the position of a point t units along the ray.
|
inline |
Gets the position of a point t units along the ray.
|
inline |
Sets the direction of the ray.
|
inline |
Sets the origin of the ray.
1.8.8