1
0
Fork 0

Fix the stopway texturing. Cleanup a bit.

This needs negative pct values.
This commit is contained in:
Christian Schmitt 2012-03-29 21:06:22 +02:00
parent 449720c858
commit 7424139772

View file

@ -116,10 +116,6 @@ void Runway::gen_runway_section( const TGPolygon& runway,
endl_pct += nudge * SG_EPSILON;
}
if ( startl_pct < 0.0 ) {
startl_pct = 0.0;
}
if ( endl_pct > 1.0 ) {
endl_pct = 1.0;
}
@ -554,7 +550,6 @@ void Runway::gen_rwy( superpoly_list *rwy_polys,
rwy_polys, texparams, accum, slivers );
}
length = rwy.length / 2.0 + 2.0 * SG_FEET_TO_METER;
start1_pct = 0.0;
end1_pct = 0.0;