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;
50 m_meshInterface->getLockedReadOnlyVertexIndexBase(
69 const unsigned char *vertexbase;
73 const unsigned char *indexbase;
82 m_meshInterface->getLockedReadOnlyVertexIndexBase(
109 virtual const char *
getName()
const {
return "MULTIMATERIALTRIANGLEMESH"; }
112 const btMaterial *getMaterialProperties(
int partID,
int triIndex);
@ MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE
Multimaterial mesh.
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types.
#define ATTRIBUTE_ALIGNED16(a)
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
This file was created by Alex Silverman.
This file was created by Alex Silverman.
btMultimaterialTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
virtual const char * getName() const
btAlignedObjectArray< btMaterial * > m_materialList
btMultimaterialTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, const btVector3 &bvhAabbMin, const btVector3 &bvhAabbMax, bool buildBvh=true)
optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this...
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual ~btMultimaterialTriangleMeshShape()
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
virtual int getNumSubParts() const =0
getNumSubParts returns the number of separate subparts each subpart has a continuous array of vertice...
btVector3 can be used to represent 3D points and vectors.