18 #ifndef BT_BVH_TRIANGLE_MATERIAL_MESH_SHAPE_H 19 #define BT_BVH_TRIANGLE_MATERIAL_MESH_SHAPE_H 34 btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, buildBvh)
38 const unsigned char *vertexbase;
42 const unsigned char *indexbase;
51 m_meshInterface->getLockedReadOnlyVertexIndexBase(
67 btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, bvhAabbMin, bvhAabbMax, buildBvh)
71 const unsigned char *vertexbase;
75 const unsigned char *indexbase;
84 m_meshInterface->getLockedReadOnlyVertexIndexBase(
111 virtual const char*
getName()
const {
return "MULTIMATERIALTRIANGLEMESH";}
114 const btMaterial * getMaterialProperties(
int partID,
int triIndex);
119 #endif //BT_BVH_TRIANGLE_MATERIAL_MESH_SHAPE_H btMultimaterialTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
This file was created by Alex Silverman.
btAlignedObjectArray< btMaterial * > m_materialList
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
virtual const char * getName() const
virtual ~btMultimaterialTriangleMeshShape()
btVector3 can be used to represent 3D points and vectors.
virtual int getNumSubParts() const =0
getNumSubParts returns the number of seperate subparts each subpart has a continuous array of vertice...
#define ATTRIBUTE_ALIGNED16(a)
This file was created by Alex Silverman.
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
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...
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types.