Changeset 2882 for code/trunk/src/bullet/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h
- Timestamp:
- Mar 31, 2009, 8:05:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/bullet/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h
r2662 r2882 32 32 BT_DECLARE_ALIGNED_ALLOCATOR(); 33 33 34 btMultimaterialTriangleMeshShape(): btBvhTriangleMeshShape() { }34 btMultimaterialTriangleMeshShape(): btBvhTriangleMeshShape() {m_shapeType = MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE;} 35 35 btMultimaterialTriangleMeshShape(btStridingMeshInterface* meshInterface, bool useQuantizedAabbCompression, bool buildBvh = true): 36 36 btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, buildBvh) 37 37 { 38 m_shapeType = MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE; 39 38 40 btVector3 m_triangle[3]; 39 41 const unsigned char *vertexbase; … … 68 70 btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, bvhAabbMin, bvhAabbMax, buildBvh) 69 71 { 72 m_shapeType = MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE; 73 70 74 btVector3 m_triangle[3]; 71 75 const unsigned char *vertexbase; … … 108 112 */ 109 113 } 110 virtual int getShapeType() const111 {112 return MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE;113 }114 115 114 //debugging 116 115 virtual const char* getName()const {return "MULTIMATERIALTRIANGLEMESH";}
Note: See TracChangeset
for help on using the changeset viewer.