64 (*vertexbase) = (
const unsigned char *)mesh.
m_vertexBase;
The btIndexedMesh indexes a single vertex and index array.
virtual bool hasPremadeAabb() const
btTriangleIndexVertexArray()
virtual void setPremadeAabb(const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual void getLockedReadOnlyVertexIndexBase(const unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &vertexStride, const unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0) const
PHY_ScalarType m_indexType
IndexedMeshArray m_indexedMeshes
void addIndexedMesh(const btIndexedMesh &mesh, PHY_ScalarType indexType=PHY_INTEGER)
int m_triangleIndexStride
virtual ~btTriangleIndexVertexArray()
const unsigned char * m_triangleIndexBase
btVector3 can be used to represent 3D points and vectors.
virtual int getNumSubParts() const
getNumSubParts returns the number of seperate subparts each subpart has a continuous array of vertice...
virtual void getPremadeAabb(btVector3 *aabbMin, btVector3 *aabbMax) const
virtual void getLockedVertexIndexBase(unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &vertexStride, unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0)
get read and write access to a subpart of a triangle mesh this subpart has a continuous array of vert...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
PHY_ScalarType m_vertexType
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types.
const unsigned char * m_vertexBase