git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@194 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2009-08-06 12:10:35 +00:00
parent 0a2a2a6c72
commit 41d83eb983

View File

@ -50,7 +50,7 @@ void CollisionEngine::update() {
Time timeLast(DBL_MAX); // Last collision separation time
// Compute the collision detection
if (collisionDetection.computeCollisionDetection(collisionWorld, timer.getTimeStep(), timeFirst, timeLast)) {
if (collisionDetection.computeCollisionDetection(collisionWorld, timer.getTimeStep(), timeFirst)) {
// For each body in the dynamic world
for(std::vector<Body*>::const_iterator it = world->getBodyListStartIterator(); it != world->getBodyListEndIterator(); ++it) {
// If the body is a RigidBody and if the rigid body motion is enabled