From 41bc2f379eff451ed033849c96e84bb4e8abebb8 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Thu, 7 Nov 2024 09:26:27 +0100 Subject: [PATCH] fix fmt --- src/pipeline/events.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pipeline/events.rs b/src/pipeline/events.rs index aee04803..eac362d1 100644 --- a/src/pipeline/events.rs +++ b/src/pipeline/events.rs @@ -271,7 +271,8 @@ mod test { } pub fn setup_physics(mut commands: Commands) { for _i in 0..100 { - commands.spawn((Transform::from_xyz(0.0, 0.0, 0.0), + commands.spawn(( + Transform::from_xyz(0.0, 0.0, 0.0), RigidBody::Dynamic, cuboid(0.5, 0.5, 0.5), ActiveEvents::all(), @@ -285,7 +286,8 @@ mod test { let ground_height = 0.1; let starting_y = -0.5 - ground_height; - commands.spawn((Transform::from_xyz(0.0, starting_y, 0.0), + commands.spawn(( + Transform::from_xyz(0.0, starting_y, 0.0), cuboid(ground_size, ground_height, ground_size), )); }