Got btMultiSapBroadphase in a working state. Now tuning/optimizations can be started.

Added getBroadphaseAabb to btBroadphaseInterface.
This commit is contained in:
erwin.coumans
2008-03-15 08:59:26 +00:00
parent 2478591e13
commit 44186898af
5 changed files with 316 additions and 50 deletions

View File

@@ -139,6 +139,13 @@ public:
bool testAabbOverlap(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1);
///getAabb returns the axis aligned bounding box in the 'global' coordinate frame
///will add some transform later
virtual void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const
{
aabbMin.setValue(-1e30f,-1e30f,-1e30f);
aabbMax.setValue(1e30f,1e30f,1e30f);
}
};