pub fn update_camera(
window_q: Query<'_, '_, &Window>,
ev_motion: EventReader<'_, '_, MouseMotion>,
ev_scroll: EventReader<'_, '_, MouseWheel>,
input_mouse: Res<'_, ButtonInput<MouseButton>>,
query: Query<'_, '_, (&mut PanOrbitCamera, &mut Transform, &Projection)>,
)
Expand description
Camera update routine.