Jet
v1.3.3
|
Class for 2-D ray. More...
#include <jet/ray3.h>
Public Member Functions | |
Ray () | |
Constructs an empty ray that points (1, 0, 0) from (0, 0, 0). More... | |
Ray (const Vector3< T > &newOrigin, const Vector3< T > &newDirection) | |
Constructs a ray with given origin and riection. More... | |
Ray (const Ray &other) | |
Copy constructor. More... | |
Vector3< T > | pointAt (T t) const |
Returns a point on the ray at distance t . More... | |
Public Attributes | |
Vector3< T > | origin |
The origin of the ray. More... | |
Vector3< T > | direction |
The direction of the ray. More... | |
Class for 2-D ray.
T | The value type. |
Constructs an empty ray that points (1, 0, 0) from (0, 0, 0).
jet::Ray< T, 3 >::Ray | ( | const Vector3< T > & | newOrigin, |
const Vector3< T > & | newDirection | ||
) |
Constructs a ray with given origin and riection.
Returns a point on the ray at distance t
.