From 6b365a7ca54ccacffe5eec0cbbd81aec9df8389c Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sun, 7 Sep 2008 05:00:55 +0000 Subject: [PATCH] Add get methods for localAabbMin/localAabbMax, required for btScaledBvhTriangleMeshShape --- .../CollisionShapes/btTriangleMeshShape.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h b/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h index 9fba77cb5..c9eabafe2 100644 --- a/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h +++ b/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h @@ -65,6 +65,16 @@ public: return m_meshInterface; } + const btVector3& getLocalAabbMin() const + { + return m_localAabbMin; + } + const btVector3& getLocalAabbMax() const + { + return m_localAabbMax; + } + + //debugging virtual const char* getName()const {return "TRIANGLEMESH";}