Hermes
|
Public Member Functions | |
Ray3 (const point3 &origin, const vec3 &direction) | |
Parameters constructor. More... | |
point3 | operator() (float t) const |
Computes a point in ray's path at the given parametric coordinate. More... | |
Public Attributes | |
point3 | o |
ray's origin | |
vec3 | d |
ray's direction | |
Parameters constructor.
origin | |
direction |
|
inline |
Computes a point in ray's path at the given parametric coordinate.
t |