diff --git a/src/main.rs b/src/main.rs index fba2f41..721de71 100644 --- a/src/main.rs +++ b/src/main.rs @@ -620,8 +620,8 @@ fn handle_window_event( .entities .get_component_mut(player, game.server.rotation) .unwrap(); - rotation.yaw -= rx; - rotation.pitch -= ry; + rotation.yaw -= rx*2.4f64; + rotation.pitch -= ry*2.4f64; if rotation.pitch < (PI / 2.0) + 0.01 { rotation.pitch = (PI / 2.0) + 0.01; }