From 11f03d34c9aa3763821105362d67b42ddc43eadc Mon Sep 17 00:00:00 2001 From: Matthew W Hume Date: Thu, 11 Jan 2024 23:36:17 -0500 Subject: [PATCH] fix vector direction display --- Src/Orbiter/Vessel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Orbiter/Vessel.cpp b/Src/Orbiter/Vessel.cpp index 74a0eda50..08b9b9146 100644 --- a/Src/Orbiter/Vessel.cpp +++ b/Src/Orbiter/Vessel.cpp @@ -1289,7 +1289,7 @@ bool Vessel::GetSideForceVector (Vector &SF) const } else { double v0 = std::hypot(sp.airvel_ship.x, sp.airvel_ship.z); double scale = (v0 ? SideForce / v0 : 0.0); - SF.Set(0, sp.airvel_ship.z * scale, -sp.airvel_ship.x * scale); + SF.Set(sp.airvel_ship.z * scale, 0, - sp.airvel_ship.x * scale); return true; } }