Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCampos committed Mar 1, 2013
2 parents ab6acdf + 2e13d63 commit 34a6390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pcontacts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void ParticleContact::resolveVelocity(real duration)
if (particle[1]) accCausedVelocity -= particle[1]->getAcceleration();
real accCausedSepVelocity = accCausedVelocity * contactNormal * duration;

// If we've got a closing velocity due to acelleration build-up,
// If we've got a closing velocity due to acceleration build-up,
// remove it from the new separating velocity
if (accCausedSepVelocity < 0)
{
Expand Down Expand Up @@ -190,4 +190,4 @@ void ParticleContactResolver::resolveContacts(ParticleContact *contactArray,

iterationsUsed++;
}
}
}

0 comments on commit 34a6390

Please sign in to comment.