#include <RecastHelpers.h>
Public Member Functions | |
float * | GetData () |
AZ::Vector3 | AsVector3WithZup () const |
Static Public Member Functions | |
static RecastVector3 | CreateFromVector3SwapYZ (const AZ::Vector3 &in) |
A constructor from O3DE coordinate values. | |
static RecastVector3 | CreateFromFloatValuesWithoutAxisSwapping (const float *data) |
A constructor from Recast coordinate values. | |
Public Attributes | |
float | m_xyz [3] = { 0.f, 0.f, 0.f } |
A helper class to manage different coordinate systems between O3DE and Recast Navigation library. In O3DE, +Z is up. In Recast library, +Y is up. The data in this class is kept always in Recast format with +Y. Use @AsVector3WithZup to get a vector in O3DE format.
|
inline |
|
inline |