Better fix reciprical runway heading for vasi too.
This commit is contained in:
parent
66bacda3ba
commit
c9584384d3
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,8 @@ static FGSuperPoly gen_vasi( const FGRunway& rwy_info, float alt_m,
|
||||||
double lon, lat, r;
|
double lon, lat, r;
|
||||||
if ( recip ) {
|
if ( recip ) {
|
||||||
ref = corner[0];
|
ref = corner[0];
|
||||||
length_hdg = 360.0 - rwy_info.heading;
|
length_hdg = rwy_info.heading + 180.0;
|
||||||
|
if ( length_hdg > 360.0 ) { length_hdg -= 360.0; }
|
||||||
} else {
|
} else {
|
||||||
ref = corner[2];
|
ref = corner[2];
|
||||||
length_hdg = rwy_info.heading;
|
length_hdg = rwy_info.heading;
|
||||||
|
|
Loading…
Add table
Reference in a new issue