1
0
Fork 0

Very slightly tweak clipping semantics to try to reduce artifacts and cracks

in the scenery.
This commit is contained in:
curt 2005-09-28 16:39:58 +00:00
parent c131a2c572
commit 25f1e2b22b

View file

@ -533,10 +533,18 @@ bool TGClipper::clip_all(const point2d& min, const point2d& max) {
// Airport areas are limited to existing land mass and // Airport areas are limited to existing land mass and
// never override water. // never override water.
if ( i == AirportArea ) { //
tmp = tgPolygonInt( tmp, land_mask ); // 9/26/2005 - CLO: We are going to add the ability to
tmp = tgPolygonDiff( tmp, water_mask ); // manually define airport areas when the default area
} // isn't sufficient. It is clear that it is impossible to
// auto-generate correct airport areas in all cases. For
// now we default to topologically continuous scenery and
// wait for people to submit manual fixes.
//
// if ( i == AirportArea ) {
// tmp = tgPolygonInt( tmp, land_mask );
// tmp = tgPolygonDiff( tmp, water_mask );
// }
// if a water area, cut out potential islands // if a water area, cut out potential islands
if ( is_water_area(AreaType(i)) ) { if ( is_water_area(AreaType(i)) ) {