From 80f08eb33c9797d0eca364286151ef58530dfa16 Mon Sep 17 00:00:00 2001 From: Jakub Arnold Date: Fri, 8 Dec 2023 22:30:23 +0100 Subject: [PATCH] Formatting fix --- comfy/examples/perspective-camera.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comfy/examples/perspective-camera.rs b/comfy/examples/perspective-camera.rs index 4877921..f839250 100644 --- a/comfy/examples/perspective-camera.rs +++ b/comfy/examples/perspective-camera.rs @@ -119,7 +119,9 @@ fn setup(c: &mut EngineContext) { for x in -count..count { for y in -count..count { commands().spawn(( - Transform::position(start_pos + vec2(x as f32, y as f32) + splat(0.5)), + Transform::position( + start_pos + vec2(x as f32, y as f32) + splat(0.5), + ), Sprite::new("player", splat(1.0), 5, BLUE) .with_z_index(Z_MOBS) .with_rect(0, 0, 16, 16),