From baa68240c5e5e671b54b3e909ce21eb2701c59c3 Mon Sep 17 00:00:00 2001 From: yuni Date: Sun, 17 Nov 2024 21:34:56 +0100 Subject: [PATCH] remove camera::apply_input_to_player_old function --- src/camera.rs | 319 -------------------------------------------------- 1 file changed, 319 deletions(-) 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