Browse Source

- Removed unused variable.

MelvMay-GG 12 years ago
parent
commit
b8ba405
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/controllers/BuoyancyController.cc

+ 1 - 1
engine/source/2d/controllers/BuoyancyController.cc

@@ -173,7 +173,7 @@ void BuoyancyController::integrate( Scene* pScene, const F32 totalTime, const F3
 
 		areaCenter.x /= area;
 		areaCenter.y /= area;
-        const b2Vec2 localCentroid = b2MulT(pSceneObject->getTransform(), areaCenter);
+        //const b2Vec2 localCentroid = b2MulT(pSceneObject->getTransform(), areaCenter);
 		massCenter.x /= mass;
 		massCenter.y /= mass;