diff --git a/examples/boids/main.rs b/examples/boids/main.rs index fe871d1..7dacf30 100644 --- a/examples/boids/main.rs +++ b/examples/boids/main.rs @@ -36,7 +36,7 @@ fn setup( mut meshes: ResMut>, mut materials: ResMut>, ) { - commands.spawn(Camera2d::default()); + commands.spawn(Camera2d); let boid_mesh = meshes.add(RegularPolygon::new(2., 3)); let boid_material = materials.add(Color::from(css::ANTIQUE_WHITE)); diff --git a/examples/game_of_life/render/draw_plugin.rs b/examples/game_of_life/render/draw_plugin.rs index f312f4b..564c03f 100644 --- a/examples/game_of_life/render/draw_plugin.rs +++ b/examples/game_of_life/render/draw_plugin.rs @@ -36,7 +36,7 @@ impl Plugin for DrawPlugin { /// Startup system for [`DrawPlugin`] fn startup(mut commands: Commands) { - commands.spawn(Camera2d::default()); + commands.spawn(Camera2d); } /// Simple system to check that our custom setup has happened.