diff --git a/src/camera.rs b/src/camera.rs index 6a8f08c..8b90167 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -22,7 +22,6 @@ use bevy::transform::TransformSystem; use bevy::window::PrimaryWindow; use bevy_xpbd_3d::plugins::sync; use bevy_xpbd_3d::prelude::*; -use std::collections::HashMap; pub const INITIAL_ZOOM_LEVEL: f64 = 10.0; pub const MAX_DIST_FOR_MATCH_VELOCITY: f64 = 10000.0; @@ -541,324 +540,6 @@ pub fn apply_input_to_player( accel.brake = key_input.pressed(settings.key_stop); } -#[allow(clippy::too_many_arguments)] -pub fn apply_input_to_player_old( - time: Res