#include <Ray.h>
Public Member Functions | |
| Ray (Vector pos, Vector dir) | |
| float | intersection (Volume *v) |
| Vector | intersectionPoint () |
| Vector | getCurrent () |
| void | advance (float t) |
Public Attributes | |
| Vector | mPos |
| Vector | mDir |
| float | t |
|
|
Returns the Current Position of the Ray Advances the Ray for t steps |
|
|
Deprecated function |
|
|
Returns the Value of the Intersection Point, if no intersection occurs, then Vector(-1,-1,-1) |
1.4.5