Debugging tweak.
This commit is contained in:
parent
4d530656ed
commit
b524989da4
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue