diff --git a/examples/gradient.rs b/examples/gradient.rs index 5debb9e..4addfd7 100644 --- a/examples/gradient.rs +++ b/examples/gradient.rs @@ -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>) { diff --git a/examples/models.rs b/examples/models.rs index f43930e..4e0fab5 100644 --- a/examples/models.rs +++ b/examples/models.rs @@ -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>) { diff --git a/examples/nishita.rs b/examples/nishita.rs index e64888b..1e4b4bb 100644 --- a/examples/nishita.rs +++ b/examples/nishita.rs @@ -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>) { diff --git a/examples/splitscreen.rs b/examples/splitscreen.rs index ed5de38..41d797d 100644 --- a/examples/splitscreen.rs +++ b/examples/splitscreen.rs @@ -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