const vector3& blub::ray::getDirection |
( |
void |
| ) |
const |
|
inline |
Gets the direction of the ray.
const vector3& blub::ray::getOrigin |
( |
void |
| ) |
const |
|
inline |
Gets the origin of the ray.
vector3 blub::ray::getPoint |
( |
real |
t | ) |
const |
|
inline |
Gets the position of a point t units along the ray.
vector3 blub::ray::operator* |
( |
real |
t | ) |
const |
|
inline |
Gets the position of a point t units along the ray.
void blub::ray::setDirection |
( |
const vector3 & |
dir | ) |
|
|
inline |
Sets the direction of the ray.
void blub::ray::setOrigin |
( |
const vector3 & |
origin | ) |
|
|
inline |
Sets the origin of the ray.
The documentation for this class was generated from the following files:
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/math/source/blub/math/ray.hpp
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/math/source/blub/math/ray.cpp