Fixed the winding order of triangles in SpriteBatches and ParticleSystems.

This commit is contained in:
Alex Szpakowski
2015-03-04 16:03:01 -04:00
parent 4263de89ab
commit 4fa5ab4a07
5 changed files with 20 additions and 21 deletions
+2 -2
View File
@@ -287,8 +287,8 @@ private:
* indices[i*6 + 1] = i*4 + 1;
* indices[i*6 + 2] = i*4 + 2;
*
* indices[i*6 + 3] = i*4 + 1;
* indices[i*6 + 4] = i*4 + 2;
* indices[i*6 + 3] = i*4 + 2;
* indices[i*6 + 4] = i*4 + 1;
* indices[i*6 + 5] = i*4 + 3;
*
* There will always be a large enough GLBuffer around until all