remove broken rotation code
parent
acaafdcdcd
commit
56cdffdff6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue