From 6ed11057e06241e7ef557f4f7852e64ecdb27b8e Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Mon, 27 Oct 2008 20:08:21 +0000 Subject: [PATCH] add empty 'processAllTriangles' for btEmptyShape, thanks to Ole K. http://code.google.com/p/bullet/issues/detail?id=120 --- src/BulletCollision/CollisionShapes/btEmptyShape.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BulletCollision/CollisionShapes/btEmptyShape.h b/src/BulletCollision/CollisionShapes/btEmptyShape.h index 71bed5fbf..a0608d2f7 100644 --- a/src/BulletCollision/CollisionShapes/btEmptyShape.h +++ b/src/BulletCollision/CollisionShapes/btEmptyShape.h @@ -56,6 +56,9 @@ public: return "Empty"; } + virtual void processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const + { + } protected: btVector3 m_localScaling;