74 |
fn pan_camera(mut camera: Query<&mut Transform, With<Camera>>, input: Res<Input<KeyCode>>) {
|
75 |
#[allow(clippy::obfuscated_if_else)]
|
76 |
fn axis(min: KeyCode, max: KeyCode, input: &Input<KeyCode>) -> f32 {
|