sens way too high

This commit is contained in:
Quaternions 2023-09-06 19:35:32 -07:00
parent d72e3fcabd
commit 05156d1741

View File

@ -604,8 +604,8 @@ impl strafe_client::framework::Example for Skybox {
} }
fn move_mouse(&mut self, delta: (f64,f64)) { fn move_mouse(&mut self, delta: (f64,f64)) {
self.camera.pitch=(self.camera.pitch as f64+delta.1/-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/-512.) as f32; self.camera.yaw=(self.camera.yaw as f64+delta.0/-2048.) as f32;
} }
fn resize( fn resize(