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