6 #include <boost/serialization/serialization.hpp>
18 friend class boost::serialization::access;
25 template <
typename Archive>
26 void serialize(Archive &ar,
const unsigned int version){
51 bool canContinue=
false
54 canContinue(canContinue)
73 friend std::ostream& operator<< (
Output class for intersection handling methods.
Definition: IntersectionHandlingResult.h:14
bool canRayContinue()
Check whether the ray can continue after intersection or not.
Definition: IntersectionHandlingResult.h:64
glm::dvec3 getIntersectionPoint()
Obtain the intersection point.
Definition: IntersectionHandlingResult.h:69
void serialize(Archive &ar, const unsigned int version)
Serialize an IntersectionHandlingResult to a stream of bytes.
Definition: IntersectionHandlingResult.h:26
glm::dvec3 intersectionPoint
True if the ray can continue after intersection, False otherwise.
Definition: IntersectionHandlingResult.h:37
IntersectionHandlingResult(glm::dvec3 intersectionPoint=glm::dvec3(0, 0, 0), bool canContinue=false)
Build an IntersectionHandlingResult.
Definition: IntersectionHandlingResult.h:49