26 const unsigned char * materialBase = 0;
30 const unsigned char * triangleMaterialBase = 0;
32 int triangleMaterialStride;
36 &triangleMaterialBase, numTriangles, triangleMaterialStride, triangleType, partID);
42 int * matInd = (
int *)(&(triangleMaterialBase[(triIndex * triangleMaterialStride)]));
btStridingMeshInterface * m_meshInterface
Teh btTriangleIndexVertexMaterialArray is built on TriangleIndexVertexArray The addition of a materia...
This file was created by Alex Silverman.
const btMaterial * getMaterialProperties(int partID, int triIndex)
Obtains the material for a specific triangle.
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types.