瀏覽代碼

Fixed typos

louis-mclaughlin 11 年之前
父節點
當前提交
f3605bd325
共有 2 個文件被更改,包括 3 次插入3 次删除
  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.