From 2e13d63426e90950ed304372f8d9701d427a268f Mon Sep 17 00:00:00 2001 From: Lucas Campos Date: Fri, 1 Mar 2013 07:12:16 -0300 Subject: [PATCH] Fixes typo on src/pcontacs.cpp. Issue #4 Fixes issue #4: Typo on line 52 of src/pcontacs.cpp. acelleration -> acceleration. --- src/pcontacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcontacts.cpp b/src/pcontacts.cpp index 1b5dd0e..76b9eb6 100644 --- a/src/pcontacts.cpp +++ b/src/pcontacts.cpp @@ -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) { @@ -190,4 +190,4 @@ void ParticleContactResolver::resolveContacts(ParticleContact *contactArray, iterationsUsed++; } -} \ No newline at end of file +}