1
0
Fork 0

Cleaned up a bit of debugging trash.

This commit is contained in:
curt 2000-11-15 23:10:11 +00:00
parent 1388ea146f
commit 231af62823

View file

@ -103,9 +103,11 @@ FGTriangle::build( const point_list& corner_list,
<< gpc_poly.contour_size( j ) << ", hole = "
<< gpc_poly.get_hole_flag( j ) << endl;
/*
char junkn[256];
sprintf(junkn, "c%d", j);
gpc_poly.write_contour( j, junkn );
*/
for ( int k = 0; k < gpc_poly.contour_size( j ); k++ ) {
Point3D p = gpc_poly.get_pt( j, k );
@ -131,12 +133,10 @@ FGTriangle::build( const point_list& corner_list,
// new way
// try to make sure our polygons aren't goofy
/*
gpc_poly = remove_dups( gpc_poly );
gpc_poly = reduce_degeneracy( gpc_poly );
gpc_poly = remove_dups( gpc_poly );
gpc_poly = remove_bad_contours( gpc_poly );
*/
cout << "after sanity checks, contours = "
<< gpc_poly.contours() << endl;