16 #ifndef BT_TRIANGLE_INDEX_VERTEX_ARRAY_H
17 #define BT_TRIANGLE_INDEX_VERTEX_ARRAY_H
50 #ifdef BT_USE_DOUBLE_PRECISION
90 m_indexedMeshes[m_indexedMeshes.
size() - 1].m_indexType = indexType;
107 return (
int)m_indexedMeshes.
size();
112 return m_indexedMeshes;
117 return m_indexedMeshes;
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
virtual bool hasPremadeAabb() const
PHY_ScalarType m_vertexType
BT_DECLARE_ALIGNED_ALLOCATOR()
void addIndexedMesh(const btIndexedMesh &mesh, PHY_ScalarType indexType=PHY_INTEGER)
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
virtual void preallocateIndices(int numindices)
virtual void unLockReadOnlyVertexBase(int subpart) const
const unsigned char * m_triangleIndexBase
virtual void unLockVertexBase(int subpart)
IndexedMeshArray & getIndexedMeshArray()
virtual ~btTriangleIndexVertexArray()
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)
virtual void setPremadeAabb(const btVector3 &aabbMin, const btVector3 &aabbMax) const
btTriangleIndexVertexArray()
int m_triangleIndexStride
virtual int getNumSubParts() const
btAlignedObjectArray< btIndexedMesh > IndexedMeshArray
virtual void getPremadeAabb(btVector3 *aabbMin, btVector3 *aabbMax) const
virtual void preallocateVertices(int numverts)
const unsigned char * m_vertexBase
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
SIMD_FORCE_INLINE int size() const
return the number of elements in the array
SIMD_FORCE_INLINE void push_back(const T &_Val)
SyclQueue void void size_t num_bytes void