Skip to content

Commit 70c6841

Browse files
authored
1 parent b6ccc2a commit 70c6841

File tree

1 file changed

+0
-9
lines changed
  • crates/bevy_sprite/src/render

1 file changed

+0
-9
lines changed

crates/bevy_sprite/src/render/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -789,15 +789,6 @@ pub fn prepare_sprite_image_bind_groups(
789789
);
790790
}
791791

792-
if extracted_sprite.flip_x {
793-
uv_offset_scale.x += uv_offset_scale.z;
794-
uv_offset_scale.z *= -1.0;
795-
}
796-
if extracted_sprite.flip_y {
797-
uv_offset_scale.y += uv_offset_scale.w;
798-
uv_offset_scale.w *= -1.0;
799-
}
800-
801792
let transform = extracted_sprite.transform.affine()
802793
* Affine3A::from_scale_rotation_translation(
803794
quad_size.extend(1.0),

0 commit comments

Comments
 (0)