Skip to content

Commit

Permalink
Cleanup legacy code from bevy_sprite (#15304)
Browse files Browse the repository at this point in the history
# Objective

- Remove legacy stuff
  • Loading branch information
s-puig authored Sep 19, 2024
1 parent fcfa608 commit 28597e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/bevy_sprite/src/sprite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use crate::TextureSlicer;
/// This is commonly used as a component within [`SpriteBundle`](crate::bundle::SpriteBundle).
#[derive(Component, Debug, Default, Clone, Reflect)]
#[reflect(Component, Default, Debug)]
#[repr(C)]
pub struct Sprite {
/// The sprite's color tint
pub color: Color,
Expand Down
1 change: 0 additions & 1 deletion crates/bevy_sprite/src/texture_atlas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use bevy_utils::HashMap;
#[derive(Asset, Reflect, Debug, Clone)]
#[reflect(Debug)]
pub struct TextureAtlasLayout {
// TODO: add support to Uniforms derive to write dimensions and sprites to the same buffer
pub size: UVec2,
/// The specific areas of the atlas where each texture can be found
pub textures: Vec<URect>,
Expand Down

0 comments on commit 28597e4

Please sign in to comment.