fix indent

This commit is contained in:
boyu0 2014-04-30 16:33:35 +08:00
parent c1d60f4b33
commit 489adaf315
1 changed files with 7 additions and 7 deletions

View File

@ -725,14 +725,14 @@ void ParticleSystem::update(float dt)
tmp = radial + tangential + modeA.gravity;
tmp = tmp * dt;
p->modeA.dir = p->modeA.dir + tmp;
if (_configName.length()>0 && _yCoordFlipped == -1)
{
if (_configName.length()>0 && _yCoordFlipped == -1)
{
tmp = p->modeA.dir * -dt;
}
else
{
tmp = p->modeA.dir * dt;
}
}
else
{
tmp = p->modeA.dir * dt;
}
p->pos = p->pos + tmp;
}