Remove comment out codes

This commit is contained in:
XiaoFeng 2015-10-27 18:43:51 +08:00
parent f374df408e
commit 6029635493
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}