1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/********************************************************************
*
*	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