From ae55ad7359ef273c91c3c0e214b74ad8d71d0cb7 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 30 Jan 2023 00:22:16 +0100 Subject: [PATCH] Increase "epsilon" value for max pitch --- src/fly_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fly_controller.rs b/src/fly_controller.rs index a1f2a93..71cdb08 100644 --- a/src/fly_controller.rs +++ b/src/fly_controller.rs @@ -13,7 +13,7 @@ pub fn update_controllers() -> Workload { ).into_workload() } -const MAX_PITCH: f32 = PI/2. - 0.001; +const MAX_PITCH: f32 = PI/2. - 0.05; fn update_look( controllers: View,