33 glm::dvec3 intersectionPoint = glm::dvec3(0,0,0),
34 bool canContinue=
false 36 intersectionPoint(
std::move(intersectionPoint)),
37 canContinue(canContinue)
56 friend std::ostream& operator<< (
IntersectionHandlingResult(glm::dvec3 intersectionPoint=glm::dvec3(0, 0, 0), bool canContinue=false)
Build an IntersectionHandlingResult.
Definition: IntersectionHandlingResult.h:32
glm::dvec3 intersectionPoint
True if the ray can continue after intersection, False otherwise.
Definition: IntersectionHandlingResult.h:20
bool canRayContinue()
Check whether the ray can continue after intersection or not.
Definition: IntersectionHandlingResult.h:47
Output class for intersection handling methods.
Definition: IntersectionHandlingResult.h:13
glm::dvec3 getIntersectionPoint()
Obtain the intersection point.
Definition: IntersectionHandlingResult.h:52