1
0
Fork 0

Debugging tweak.

This commit is contained in:
curt 2000-11-20 16:53:52 +00:00
parent 4d530656ed
commit b524989da4

View file

@ -159,10 +159,11 @@ bool FGPolygon::is_inside( int a, int b ) const {
// B is "inside" A if the polygon_diff( B, A ) is not null. // B is "inside" A if the polygon_diff( B, A ) is not null.
FGPolygon result = polygon_diff( B, A ); FGPolygon result = polygon_diff( B, A );
cout << " is_inside() result = " << result.contours() << endl;
if ( result.contours() == 0 ) { if ( result.contours() == 0 ) {
cout << " is_inside() result = true" << endl;
return true; return true;
} }
cout << " is_inside() result = false" << endl;
return false; return false;
} }