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
@@ -373,8 +373,8 @@ void VertexIndex::fill()
indices[i*6+1] = T(i * 4 + 1);
indices[i*6+2] = T(i * 4 + 2);
indices[i*6+3] = T(i * 4 + 1);
indices[i*6+4] = T(i * 4 + 2);
indices[i*6+3] = T(i * 4 + 2);
indices[i*6+4] = T(i * 4 + 1);
indices[i*6+5] = T(i * 4 + 3);
}
}