Enable rayTest btDbvt (dynamic aabb-tree) acceleration for btCompoundShape

Thanks to NaN/core13, see Issue 25
This commit is contained in:
erwin.coumans
2011-02-26 22:19:00 +00:00
parent 3f74c62ca4
commit e5b5126876
3 changed files with 112 additions and 42 deletions

View File

@@ -455,7 +455,7 @@ void ConvexDecompositionDemo::initPhysics(const char* filename)
if (1)
{
btCompoundShape* compound = new btCompoundShape(false);
btCompoundShape* compound = new btCompoundShape();
m_collisionShapes.push_back (compound);
btTransform trans;