From 8d72185a4e12720825d89c86b093d24abbe1d358 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,