From 8f0c836c04ef56497570301f9fbe28c0cbde3c39 Mon Sep 17 00:00:00 2001 From: Delta Echo Date: Sat, 4 Jan 2020 12:43:16 +0100 Subject: [PATCH] Make shoulder width dependent on runway width --- src/Airports/GenAirports850/rwy_gen.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Airports/GenAirports850/rwy_gen.cxx b/src/Airports/GenAirports850/rwy_gen.cxx index 34d04b92..a9802d6a 100644 --- a/src/Airports/GenAirports850/rwy_gen.cxx +++ b/src/Airports/GenAirports850/rwy_gen.cxx @@ -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 ); } -} \ No newline at end of file +}