Skip to content

Commit

Permalink
Merge branch 'master' into remove-roll
Browse files Browse the repository at this point in the history
  • Loading branch information
Plonq authored Feb 24, 2024
2 parents 552f670 + f9382d6 commit 4d3d665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/orthographic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
use bevy::prelude::*;
use bevy::render::camera::ScalingMode;
use bevy_panorbit_camera::{PanOrbitCamera, PanOrbitCameraPlugin};
use bevy_panorbit_camera::{PanOrbitCamera, PanOrbitCameraPlugin, PanOrbitCameraSystemSet};

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(PanOrbitCameraPlugin)
.add_systems(Startup, setup)
.add_systems(Update, switch_projection)
.add_systems(Update, switch_projection.before(PanOrbitCameraSystemSet))
.run();
}

Expand Down

0 comments on commit 4d3d665

Please sign in to comment.