From 05156d1741df63d810b8c3330691cd4ed477a1ed Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 6 Sep 2023 19:35:32 -0700 Subject: [PATCH] sens way too high --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5ce8362..720fa6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -604,8 +604,8 @@ impl strafe_client::framework::Example for Skybox { } fn move_mouse(&mut self, delta: (f64,f64)) { - self.camera.pitch=(self.camera.pitch as f64+delta.1/-512.) as f32; - self.camera.yaw=(self.camera.yaw as f64+delta.0/-512.) as f32; + self.camera.pitch=(self.camera.pitch as f64+delta.1/-2048.) as f32; + self.camera.yaw=(self.camera.yaw as f64+delta.0/-2048.) as f32; } fn resize(