PrimeWorldEditor/Common/SRayIntersection.h
2015-11-28 11:37:22 -07:00

21 lines
437 B
C++

#ifndef SRAYINTERSECTION
#define SRAYINTERSECTION
#include "types.h"
class CSceneNode;
struct SRayIntersection
{
bool Hit;
float Distance;
CSceneNode *pNode;
u32 ComponentIndex;
SRayIntersection() {}
SRayIntersection(bool _Hit, float _Distance, CSceneNode *_pNode, u32 _ComponentIndex)
: Hit(_Hit), Distance(_Distance), pNode(_pNode), ComponentIndex(_ComponentIndex) {}
};
#endif // SRAYINTERSECTION