From a7ec9ae5a151d5272a7ee8d50d6a150c11624914 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 18 Mar 2024 03:06:41 +0100 Subject: [PATCH] cleanup --- src/camera.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/camera.rs b/src/camera.rs index bea8a90..694a819 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -15,7 +15,7 @@ impl Plugin for CameraControllerPlugin { /// Based on Valorant's default sensitivity, not entirely sure why it is exactly 1.0 / 180.0, /// but I'm guessing it is a misunderstanding between degrees/radians and then sticking with /// it because it felt nice. -pub const RADIANS_PER_DOT: f32 = 1.0 / 180.0 * 0.5; +pub const RADIANS_PER_DOT: f32 = 1.0 / 180.0; #[derive(Component)] pub struct CameraController { @@ -44,7 +44,7 @@ impl Default for CameraController { Self { enabled: true, initialized: false, - sensitivity: 1.0, + sensitivity: 0.5, key_forward: KeyCode::KeyW, key_back: KeyCode::KeyS, key_left: KeyCode::KeyA,