From 033d1c5813f8864f92c5a1c0dea6c391741aca15 Mon Sep 17 00:00:00 2001 From: ickshonpe Date: Fri, 8 Sep 2023 13:24:09 +0100 Subject: [PATCH] cargo fmt --- crates/bevy_sprite/src/render/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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`