37void btTriangleIndexVertexArray::getLockedVertexIndexBase(
unsigned char** vertexbase,
int& numverts,
PHY_ScalarType& type,
int& vertexStride,
unsigned char** indexbase,
int& indexstride,
int& numfaces,
PHY_ScalarType& indicestype,
int subpart)
43 numverts = mesh.m_numVertices;
44 (*vertexbase) = (
unsigned char*)mesh.m_vertexBase;
46 type = mesh.m_vertexType;
48 vertexStride = mesh.m_vertexStride;
50 numfaces = mesh.m_numTriangles;
52 (*indexbase) = (
unsigned char*)mesh.m_triangleIndexBase;
53 indexstride = mesh.m_triangleIndexStride;
54 indicestype = mesh.m_indexType;
57void btTriangleIndexVertexArray::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)
const
61 numverts = mesh.m_numVertices;
62 (*vertexbase) = (
const unsigned char*)mesh.m_vertexBase;
64 type = mesh.m_vertexType;
66 vertexStride = mesh.m_vertexStride;
68 numfaces = mesh.m_numTriangles;
69 (*indexbase) = (
const unsigned char*)mesh.m_triangleIndexBase;
70 indexstride = mesh.m_triangleIndexStride;
71 indicestype = mesh.m_indexType;