Make shoulder width dependent on runway width
This commit is contained in:
parent
8e40cf26b3
commit
8f0c836c04
1 changed files with 3 additions and 3 deletions
|
@ -183,10 +183,10 @@ void Runway::gen_runway_section( const tgPolygon& runway,
|
|||
}
|
||||
|
||||
if ( startw_pct == 0.0f ) {
|
||||
lshoulder_width = 11.0;
|
||||
lshoulder_width = width/4.0;
|
||||
}
|
||||
if ( endw_pct == 1.0f ) {
|
||||
rshoulder_width = 11.0;
|
||||
rshoulder_width = width/4.0;
|
||||
}
|
||||
} else {
|
||||
// We add a fake shoulder if the runway has an asphalt or concrete surface
|
||||
|
@ -882,4 +882,4 @@ void Runway::BuildShoulder( tgpolygon_list& rwy_polys,
|
|||
rwy_polys.push_back( shoulder_polys[i] );
|
||||
accum.Add( shoulder );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue