diff --git a/crates/bevy_sprite/src/render/mod.rs b/crates/bevy_sprite/src/render/mod.rs index 64e7193182d8d..a546d47a9e9e4 100644 --- a/crates/bevy_sprite/src/render/mod.rs +++ b/crates/bevy_sprite/src/render/mod.rs @@ -328,14 +328,13 @@ pub struct ExtractedSprite { pub anchor: Vec2, } - #[derive(Resource, Default)] pub struct ExtractedSprites { pub sprites: SparseSet, } /// 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`