Skip to content

Commit

Permalink
Fixes typo on src/pcontacs.cpp. Issue idmillington#4
Browse files Browse the repository at this point in the history
Fixes issue idmillington#4: Typo on line 52 of src/pcontacs.cpp. acelleration -> acceleration.
  • Loading branch information
LucasCampos committed Mar 1, 2013
1 parent 8410893 commit 2e13d63
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 2e13d63

Please sign in to comment.