diff --git a/src/camera.rs b/src/camera.rs index 83daf08..4903c98 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -18,23 +18,59 @@ fn spawn(mut commands: Commands) { pub fn update( keys: Res>, - mut query: Query<(Ref, &mut Transform), With>, + mut query: Query<(&OrthographicProjection, &mut Transform), With>, time: Res