18#ifndef BT_BVH_TRIANGLE_MATERIAL_MESH_SHAPE_H
19#define BT_BVH_TRIANGLE_MATERIAL_MESH_SHAPE_H
37 const unsigned char *vertexbase;
41 const unsigned char *indexbase;
48 for (
int i = 0; i < meshInterface->getNumSubParts(); i++)
69 const unsigned char *vertexbase;
73 const unsigned char *indexbase;
80 for (
int i = 0; i < meshInterface->getNumSubParts(); i++)
109 virtual const char *
getName()
const {
return "MULTIMATERIALTRIANGLEMESH"; }
@ MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE
Multimaterial mesh.
btBvhTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual const char * getName() const
virtual ~btMultimaterialTriangleMeshShape()
const btMaterial * getMaterialProperties(int partID, int triIndex)
Obtains the material for a specific triangle.
btMultimaterialTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
#define ATTRIBUTE_ALIGNED16(a)
btStridingMeshInterface * m_meshInterface
This file was created by Alex Silverman.