From: James Turner Date: Sat, 3 Jan 2015 00:29:07 +0000 (+0000) Subject: Fix turn entry path position computation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ccc83566785c9b5b75e8d03579dbd1aa45d7237;p=flightgear.git Fix turn entry path position computation. --- diff --git a/src/Navaids/routePath.cxx b/src/Navaids/routePath.cxx index 086b25d6d..e5d86e63e 100644 --- a/src/Navaids/routePath.cxx +++ b/src/Navaids/routePath.cxx @@ -365,7 +365,7 @@ public: double theta = (distanceM / turnRadius) * SG_RADIANS_TO_DEGREES; theta = copysign(theta, turnAngle); double p = copysign(90, turnAngle); - double course = legCourseTrue - turnAngle + theta; + double course = legCourseTrue + theta; return SGGeodesy::direct(turnCenter, course - p, turnRadius); }