mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-08-06 12:15:38 +00:00
22 lines
445 B
C++
22 lines
445 B
C++
#ifndef SRAYINTERSECTION
|
|
#define SRAYINTERSECTION
|
|
|
|
#include <Common/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
|
|
|