Browse Source

Fixed typos

louis-mclaughlin 11 years ago
parent
commit
f3605bd325
2 changed files with 3 additions and 3 deletions
  1. 1 1
      gameplay/src/PhysicsCharacter.cpp
  2. 2 2
      gameplay/src/PhysicsCharacter.h

+ 1 - 1
gameplay/src/PhysicsCharacter.cpp

@@ -191,7 +191,7 @@ void PhysicsCharacter::setVelocity(float x, float y, float z)
     _moveVelocity.setValue(x, y, z);
 }
 
-void PhysicsCharacter::resetVeloctiyState()
+void PhysicsCharacter::resetVelocityState()
 {
     _forwardVelocity = 0.0f;
     _rightVelocity = 0.0f;

+ 2 - 2
gameplay/src/PhysicsCharacter.h

@@ -114,10 +114,10 @@ public:
     void setVelocity(float x, float y, float z);
 
     /**
-     * Resets all of interal velocity state which brings the character to an immediate stop
+     * Resets the internal velocity state which brings the character to an immediate stop
      *
     */
-    void resetVeloctiyState();
+    void resetVelocityState();
 
     /**
      * Rotates the character.