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
/********************************************************************
*
*	File:		fsC3dRay.h
*
*	Purpose:	Interface for a 3D Ray
*
*********************************************************************/

#ifndef fsC3dRayhdr
#define fsC3dRayhdr

#include "../../fsI3dRay.h"

#include <3d/CCRay.h>

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<cocos2d::Ray> mImpl;
};

#endif