Create a ray with an origin as 0,0,0 and a given direction.
- Parameters
-
direction | The direction as a Vector3 |
Create a ray with a given origin and direction.
- Parameters
-
Returns the direction of the ray.
- Returns
- The direction as a Vector3
Returns the origin of the ray.
- Returns
- The origin as a Vector3
void Ray::setDirection |
( |
Vector3 |
direction | ) |
|
Sets the direction of the ray.
- Parameters
-
direction | The given direction as a Vector3 |
void Ray::setOrigin |
( |
Vector3 |
origin | ) |
|
Sets the origin of the ray.
- Parameters
-
origin | The given origin as a Vector3 |
The documentation for this class was generated from the following files:
- include/unused/ht_ray.h
- source/unused/ht_ray.cpp