mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:57:00 +02:00
fixed indentation
This commit is contained in:
parent
67ed1369cc
commit
70e042085b
1 changed files with 3 additions and 3 deletions
|
@ -90,9 +90,9 @@ void RenderableParticleEffectEntityItem::updateQuads(RenderArgs* args, bool text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// sort particles back to front
|
// sort particles back to front
|
||||||
::zSortAxis = args->_viewFrustum->getDirection();
|
::zSortAxis = args->_viewFrustum->getDirection();
|
||||||
qSort(positions.begin(), positions.end(), zSort);
|
qSort(positions.begin(), positions.end(), zSort);
|
||||||
|
|
||||||
for (int i = 0; i < positions.size(); i++) {
|
for (int i = 0; i < positions.size(); i++) {
|
||||||
glm::vec3 pos = (textured) ? positions[i] : _particlePositions[i];
|
glm::vec3 pos = (textured) ? positions[i] : _particlePositions[i];
|
||||||
|
|
Loading…
Reference in a new issue