-Fix taxisign heading calculation leading to wrong values in certain cases
-Unify space between yellow lights
This commit is contained in:
parent
a7e6f7fa1b
commit
b7ec098859
2 changed files with 4 additions and 3 deletions
|
@ -775,12 +775,12 @@ int LinearFeature::Finish( bool closed, unsigned int idx )
|
|||
|
||||
case LF_UNIDIR_CLOSE_AMBER:
|
||||
material = "RWY_YELLOW_LIGHTS";
|
||||
light_delta = 4.0f;
|
||||
light_delta = 2.0f;
|
||||
break;
|
||||
|
||||
case LF_UNIDIR_CLOSE_AMBER_PULSE:
|
||||
material = "RWY_YELLOW_PULSE_LIGHTS";
|
||||
light_delta = 1.0f;
|
||||
light_delta = 2.0f;
|
||||
break;
|
||||
|
||||
case LF_BIDIR_GREEN_AMBER:
|
||||
|
|
|
@ -25,7 +25,8 @@ Sign::Sign( char* definition )
|
|||
|
||||
// 850 format sign heading is the heading which points away from the visible numbers
|
||||
// Flightgear wants the heading to be the heading in which the sign is read
|
||||
heading = -def_heading + 360.0;
|
||||
heading = def_heading - 180.0;
|
||||
if ( heading < 0 ) { heading += 360.0; }
|
||||
|
||||
SG_LOG(SG_GENERAL, SG_DEBUG, "Read Sign: (" << lon << "," << lat << ") heading " << def_heading << " size " << size << " definition: " << sgdef << " calc view heading: " << heading );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue