git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@194 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
0a2a2a6c72
commit
41d83eb983
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user