28 #ifndef HERMES_HERMES_GEOMETRY_RAY_H
29 #define HERMES_HERMES_GEOMETRY_RAY_H
52 virtual ~
Ray2() =
default;
83 virtual ~
Ray3() =
default;
101 inline std::ostream &operator<<(std::ostream &os,
const Ray2 &r) {
106 inline std::ostream &operator<<(std::ostream &os,
const Ray3 &r) {
vec2 d
ray's direction
Definition: ray.h:64
point2 operator()(float t) const
Computes a point in ray's path at the given parametric coordinate.
Definition: ray.h:59
point2 o
ray's origin
Definition: ray.h:63
vec3 d
ray's direction
Definition: ray.h:95
point3 operator()(float t) const
Computes a point in ray's path at the given parametric coordinate.
Definition: ray.h:90
point3 o
ray's origin
Definition: ray.h:94
Geometric vector classes.