Skip to content

Commit

Permalink
Actually add a camera
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Jan 8, 2022
1 parent 7b2cbc9 commit dd3956c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/window/expanding_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ fn main() {
.add_plugins(DefaultPlugins)
.insert_resource(Phase::ContractingY)
.add_system(change_window_size)
.add_startup_system(setup)
.run();
}

fn setup(mut commands: Commands) {
commands.spawn_bundle(OrthographicCameraBundle::new_3d());
}

enum Phase {
ContractingY,
ContractingX,
Expand Down

0 comments on commit dd3956c

Please sign in to comment.