4 #include "PrintUtils.h"
35 friend std::ostream& operator << (
Abstract class defining the common behavior for all primitives.
Definition: Primitive.h:24
Class representing a the intersection of a ray over a scene made of primitives.
Definition: RaySceneIntersection.h:12
Primitive * prim
Primitive intersected by the ray.
Definition: RaySceneIntersection.h:19
double hitDistance
The distance traversed by the ray until intersection.
Definition: RaySceneIntersection.h:31
glm::dvec3 point
Intersection point.
Definition: RaySceneIntersection.h:23
double incidenceAngle
Intersection incidence angle.
Definition: RaySceneIntersection.h:27