Merge pull request #2510 from FlightControl-Master/master-ng

Update Utils.lua
This commit is contained in:
Thomas
2026-02-10 15:34:26 +01:00
committed by GitHub
+1 -1
View File
@@ -5521,7 +5521,7 @@ end
function UTILS.CalculateInterceptBearing(A1, V1, A2, V2_speed)
local function berechne_bearing(richtung)
local bearing = math.deg(math.atan2(richtung.x, richtung.y))
local bearing = math.deg(math.atan2(richtung.x, richtung.z))
if bearing < 0 then
bearing = bearing + 360
end