From 6029635493dcc4357fde31973ac37eb6631b8812 Mon Sep 17 00:00:00 2001 From: XiaoFeng Date: Tue, 27 Oct 2015 18:43:51 +0800 Subject: [PATCH] Remove comment out codes --- cocos/2d/CCActionTiledGrid.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cocos/2d/CCActionTiledGrid.cpp b/cocos/2d/CCActionTiledGrid.cpp index a96bfa7e91..ce62c9fd27 100644 --- a/cocos/2d/CCActionTiledGrid.cpp +++ b/cocos/2d/CCActionTiledGrid.cpp @@ -572,11 +572,6 @@ FadeOutDownTiles* FadeOutDownTiles::clone() const float FadeOutDownTiles::testFunc(const Size& pos, float time) { Vec2 n = Vec2((float)_gridSize.width, (float)_gridSize.height) * (1.0f - time); - //if (pos.height == 0) - //{ - // return 1.0f; - //} - return powf(n.y / (pos.height > 0.0f ? pos.height : 0.1f), 6); }