Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Dec 7, 2024
1 parent ffcbe8d commit b3c41e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
6 changes: 1 addition & 5 deletions examples/gradient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ fn main() {
}

fn setup(mut commands: Commands) {
commands.spawn((
Camera3d::default(),
AtmosphereCamera::default(),
Spectator,
));
commands.spawn((Camera3d::default(), AtmosphereCamera::default(), Spectator));
}

fn change_gradient(mut commands: Commands, keys: Res<ButtonInput<KeyCode>>) {
Expand Down
6 changes: 1 addition & 5 deletions examples/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ fn main() {
}

fn setup(mut commands: Commands) {
commands.spawn((
Camera3d::default(),
AtmosphereCamera::default(),
Spectator,
));
commands.spawn((Camera3d::default(), AtmosphereCamera::default(), Spectator));
}

fn change_model(mut commands: Commands, keys: Res<ButtonInput<KeyCode>>) {
Expand Down
6 changes: 1 addition & 5 deletions examples/nishita.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ fn main() {
}

fn setup(mut commands: Commands) {
commands.spawn((
Camera3d::default(),
AtmosphereCamera::default(),
Spectator,
));
commands.spawn((Camera3d::default(), AtmosphereCamera::default(), Spectator));
}

fn change_nishita(mut commands: Commands, keys: Res<ButtonInput<KeyCode>>) {
Expand Down
2 changes: 1 addition & 1 deletion examples/splitscreen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn setup(
0.0,
1.0,
-std::f32::consts::FRAC_PI_4,
))
)),
));

// Spawn left screen camera and make it the default spectator
Expand Down

0 comments on commit b3c41e5

Please sign in to comment.