Open Dynamics Engine
Public Member Functions | Public Attributes

dxHeightfieldData Struct Reference

List of all members.

Public Member Functions

void SetData (int nWidthSamples, int nDepthSamples, dReal fWidth, dReal fDepth, dReal fScale, dReal fOffset, dReal fThickness, int bWrapMode)
void ComputeHeightBounds ()
bool IsOnHeightfield2 (const HeightFieldVertex *const CellCorner, const dReal *const pos, const bool isABC) const
dReal GetHeight (int x, int z)
dReal GetHeight (dReal x, dReal z)

Public Attributes

dReal m_fWidth
dReal m_fDepth
dReal m_fSampleWidth
dReal m_fSampleDepth
dReal m_fSampleZXAspect
dReal m_fInvSampleWidth
dReal m_fInvSampleDepth
dReal m_fHalfWidth
dReal m_fHalfDepth
dReal m_fMinHeight
dReal m_fMaxHeight
dReal m_fThickness
dReal m_fScale
dReal m_fOffset
int m_nWidthSamples
int m_nDepthSamples
int m_bCopyHeightData
int m_bWrapMode
int m_nGetHeightMode
const void * m_pHeightData
void * m_pUserData
dContactGeom m_contacts [HEIGHTFIELDMAXCONTACTPERCELL]
dHeightfieldGetHeightm_pGetHeightCallback

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