From ec5788925c305b062ae28bc55c72699e30257b9a Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Wed, 3 Feb 2010 21:20:06 +0000 Subject: Add btBvhTriangleMeshShape::buildOptimizedBvh() in preparation of next commit. This patch has been approved already and will be in Bullet 2.76. --- .../src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extern/bullet2/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h') diff --git a/extern/bullet2/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h b/extern/bullet2/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h index cb2c326574e..ab54bd1a1ed 100644 --- a/extern/bullet2/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h +++ b/extern/bullet2/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h @@ -76,6 +76,8 @@ public: void setOptimizedBvh(btOptimizedBvh* bvh, const btVector3& localScaling=btVector3(1,1,1)); + void buildOptimizedBvh(); + bool usesQuantizedAabbCompression() const { return m_useQuantizedAabbCompression; -- cgit v1.2.3