Selaa lähdekoodia

removed default-value comments from cpp

Ken Whatmough 13 vuotta sitten
vanhempi
sitoutus
af0f29fcc0
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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,
-    const Matrix* worldMatrix /*=NULL*/, Vector3* normalData /*=NULL*/, Vector3* normalResult /*=NULL*/)
+    const Matrix* worldMatrix, Vector3* normalData, Vector3* normalResult)
 {
     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);