Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe committed Sep 8, 2023
1 parent 0b76079 commit 033d1c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/bevy_sprite/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,14 +328,13 @@ pub struct ExtractedSprite {
pub anchor: Vec2,
}


#[derive(Resource, Default)]
pub struct ExtractedSprites {
pub sprites: SparseSet<Entity, ExtractedSprite>,
}

/// Allows extraction of multiply sprites for a single entity that all share that entity's id for visibility resolution.
/// Not designed for efficiency, extracting sprite entities individually should be more performant.
/// Not designed for efficiency, extracting sprite entities individually should be more performant.
#[derive(Resource, Default)]
pub struct ExtractedSpriteBatches {
/// maps the entity id for each batch to a range of indices into `sprite_ids`
Expand Down

0 comments on commit 033d1c5

Please sign in to comment.