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