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