Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Nov 7, 2024
1 parent 8dc9d5f commit 41bc2f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pipeline/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand 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),
));
}
Expand Down

0 comments on commit 41bc2f3

Please sign in to comment.