|
cgv
|
Struct template for fixed n-dimensional rays with arbitrary data type defined by origin and direction. More...
#include <fray.h>
Public Member Functions | |
| fray () | |
| Construct an invalid ray with origin at zero and undefined direction. | |
| fray (const fvec< T, N > &origin, const fvec< T, N > &direction) | |
| Construct a ray with given origin and direction. | |
| fvec< T, N > | position (float t) const |
| Return the position of the ray at the given distance (ray parameter t) from its origin. | |
Public Attributes | |
| fvec< T, N > | origin |
| fvec< T, N > | direction |
Struct template for fixed n-dimensional rays with arbitrary data type defined by origin and direction.
|
inline |
|
inline |
|
inline |
| fvec<T, N> cgv::math::fray< T, N >::direction |
| fvec<T, N> cgv::math::fray< T, N >::origin |