mirror of https://github.com/axmolengine/axmol.git
fix indent
This commit is contained in:
parent
c1d60f4b33
commit
489adaf315
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue