remove broken rotation code

sprites
cosmonaut 2020-12-04 15:46:30 -08:00
parent acaafdcdcd
commit 56cdffdff6
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ namespace Kav
foreach (var sprite in sprites)
{
// transform view space on CPU so we don't have to break the batch
Vector3 viewSpacePosition = Vector3.Transform(sprite.Position, camera.View * Matrix.CreateRotationX(sprite.Rotation) * invertY);
Vector3 viewSpacePosition = Vector3.Transform(sprite.Position, camera.View * invertY);
SpriteBatch.Draw(
sprite.Texture,