]> git.mxchange.org Git - flightgear.git/commit
Fix route-path display of long legs.
authorJames Turner <jmt@Bishop.local>
Mon, 31 Dec 2012 17:21:05 +0000 (17:21 +0000)
committerJames Turner <jmt@Bishop.local>
Mon, 31 Dec 2012 17:21:05 +0000 (17:21 +0000)
commit5ff8311acca298b5c46809f2c8d773139c012826
treec64b9247036a75b98eb42e60e9445d3a85475c68
parent6c3853fd0d70d8e5d4f3e05f6c79cb5382219bc5
Fix route-path display of long legs.

When leg spans more than a threshold (currently 0.5 degrees) of longitude, interpolate the actual path flown by the GPS/RM, which is a true great-circle. Previous we rendered a Rhumb line which does not agree at all. (Especially noticeable in the MapWidget and NavDisplay code, both of which use RoutePath to tesselate the route before rendering)
src/Navaids/routePath.cxx
src/Navaids/routePath.hxx