Plasma Engine  2.0
Loading...
Searching...
No Matches
RcMath.h
1#pragma once
2
3#include <Foundation/Math/Declarations.h>
4#include <RecastPlugin/RecastPluginDLL.h>
5
9struct PL_RECASTPLUGIN_DLL plRcPos
10{
11 float m_Pos[3];
12
13 plRcPos();
14 plRcPos(const float* pPos);
15 plRcPos(const plVec3& v);
16
17 void operator=(const plVec3& v);
18 void operator=(const float* pPos);
19
20 operator const float *() const;
21 operator float*();
22 operator plVec3() const;
23};
Helper class to convert between Recast's convention (float[3] and Y is up) and plVec3 (Z up)
Definition RcMath.h:10