Fix btSoftBody issue, so it can interact with btCollisionObject and btGhostObject (and not just btRigidBody and btSoftBody)

Thank for the report mi076 http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2823

remove legacy.c from libxml
removed #include <math.h> from btQuadWord.h , it should be centralized in btScalar.h (to allow easier replacement with fastmath.h etc)
This commit is contained in:
erwin.coumans
2008-11-10 20:33:14 +00:00
parent 8865e38e5b
commit 3c0ca0d931
8 changed files with 39 additions and 25 deletions

View File

@@ -2600,7 +2600,7 @@ void btSoftBody::defaultCollisionHandler(btCollisionObject* pco)
case fCollision::CL_RS:
{
btSoftColliders::CollideCL_RS collider;
collider.Process(this,btRigidBody::upcast(pco));
collider.Process(this,pco);
}
break;
}