/********************************************************************
*
* File: fsC3dRay.h
*
* Purpose: Interface for a 3D Ray
*
*********************************************************************/
#ifndef fsC3dRayhdr
#define fsC3dRayhdr
#include "../../fsI3dRay.h"
#ifdef AXMOL_V3
#include <math/Ray.h>
#else
#include <3d/Ray.h>
#endif
class fsC3dRay : public fsI3dRay
{
friend class fsI3dRay;
public:
virtual ~fsC3dRay();<--- Destructor in derived class
fsC3dRay();
protected:
void setDo(const fsVec3d& pOrigin, const fsVec3d& pDirection) override;
private:
std::unique_ptr<axmol::Ray> mImpl;
};
#endif