mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed the winding order of triangles in SpriteBatches and ParticleSystems.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user