Plasma Engine  2.0
Loading...
Searching...
No Matches
plRcPos Struct Reference

Helper class to convert between Recast's convention (float[3] and Y is up) and plVec3 (Z up) More...

#include <RcMath.h>

Public Member Functions

 plRcPos (const float *pPos)
 
 plRcPos (const plVec3 &v)
 
void operator= (const plVec3 &v)
 
void operator= (const float *pPos)
 
 operator const float * () const
 
 operator float * ()
 
 operator plVec3 () const
 
 plRcPos (const float *pPos)
 
 plRcPos (const plVec3 &v)
 
void operator= (const plVec3 &v)
 
void operator= (const float *pPos)
 
 operator const float * () const
 
 operator float * ()
 
 operator plVec3 () const
 

Public Attributes

float m_Pos [3]
 

Detailed Description

Helper class to convert between Recast's convention (float[3] and Y is up) and plVec3 (Z up)

Will automatically swap Y and Z when assigning between the different types.


The documentation for this struct was generated from the following files: