Bullet Collision Detection & Physics Library
|
virtual bool hasPremadeAabb() const
btTriangleIndexVertexArray()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
PHY_ScalarType m_vertexType
virtual ~btTriangleIndexVertexArray()
const unsigned char * m_triangleIndexBase
virtual void getPremadeAabb(btVector3 *aabbMin, btVector3 *aabbMax) const
IndexedMeshArray m_indexedMeshes
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...
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
PHY_ScalarType enumerates possible scalar types.
The btIndexedMesh indexes a single vertex and index array.
btVector3 can be used to represent 3D points and vectors.
int m_triangleIndexStride
virtual int getNumSubParts() const
getNumSubParts returns the number of seperate subparts each subpart has a continuous array of vertice...
void addIndexedMesh(const btIndexedMesh &mesh, PHY_ScalarType indexType=PHY_INTEGER)
virtual void setPremadeAabb(const btVector3 &aabbMin, const btVector3 &aabbMax) const
const unsigned char * m_vertexBase
PHY_ScalarType m_indexType