瀏覽代碼

removed default-value comments from cpp

Ken Whatmough 13 年之前
父節點
當前提交
af0f29fcc0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      gameplay/src/PhysicsController.cpp
  2. 1 1
      gameplay/src/PhysicsRigidBody.cpp

+ 1 - 1
gameplay/src/PhysicsController.cpp

@@ -1276,7 +1276,7 @@ void PhysicsController::destroyShape(PhysicsCollisionShape* shape)
 }
 }
 
 
 float PhysicsController::calculateHeight(float* data, unsigned int width, unsigned int height, float x, float y,
 float PhysicsController::calculateHeight(float* data, unsigned int width, unsigned int height, float x, float y,
-    const Matrix* worldMatrix /*=NULL*/, Vector3* normalData /*=NULL*/, Vector3* normalResult /*=NULL*/)
+    const Matrix* worldMatrix, Vector3* normalData, Vector3* normalResult)
 {
 {
     GP_ASSERT(data);
     GP_ASSERT(data);
 
 

+ 1 - 1
gameplay/src/PhysicsRigidBody.cpp

@@ -258,7 +258,7 @@ void PhysicsRigidBody::setKinematic(bool kinematic)
     }
     }
 }
 }
 
 
-float PhysicsRigidBody::getHeight(float x, float y, Vector3* normal /*=NULL*/) const
+float PhysicsRigidBody::getHeight(float x, float y, Vector3* normal) const
 {
 {
     GP_ASSERT(_collisionShape);
     GP_ASSERT(_collisionShape);