1
0
Fork 0

Commented out several debugging output messages.

This commit is contained in:
curt 1999-05-04 21:01:25 +00:00
parent 08552c0d7a
commit 8782eeec9f

View file

@ -117,9 +117,9 @@ void FGTriSegments::unique_divide_and_add( const point_list& nodes,
y_err = fabs(current->y() - (m * current->x() + b)); y_err = fabs(current->y() - (m * current->x() + b));
if ( y_err < 10 * FG_EPSILON ) { if ( y_err < 10 * FG_EPSILON ) {
cout << "FOUND EXTRA SEGMENT NODE (Y)" << endl; // cout << "FOUND EXTRA SEGMENT NODE (Y)" << endl;
cout << p0 << " < " << *current << " < " // cout << p0 << " < " << *current << " < "
<< p1 << endl; // << p1 << endl;
found_extra = true; found_extra = true;
extra_index = counter; extra_index = counter;
break; break;
@ -152,9 +152,9 @@ void FGTriSegments::unique_divide_and_add( const point_list& nodes,
// cout << " found a potential point, x err = " // cout << " found a potential point, x err = "
// << x_err << endl; // << x_err << endl;
if ( x_err < 10*FG_EPSILON ) { if ( x_err < 10*FG_EPSILON ) {
cout << "FOUND EXTRA SEGMENT NODE (X)" << endl; // cout << "FOUND EXTRA SEGMENT NODE (X)" << endl;
cout << p0 << " < " << *current << " < " // cout << p0 << " < " << *current << " < "
<< p1 << endl; // << p1 << endl;
found_extra = true; found_extra = true;
extra_index = counter; extra_index = counter;
break; break;
@ -166,8 +166,8 @@ void FGTriSegments::unique_divide_and_add( const point_list& nodes,
if ( found_extra ) { if ( found_extra ) {
// recurse with two sub segments // recurse with two sub segments
cout << "dividing " << s.get_n1() << " " << extra_index // cout << "dividing " << s.get_n1() << " " << extra_index
<< " " << s.get_n2() << endl; // << " " << s.get_n2() << endl;
unique_divide_and_add( nodes, FGTriSeg( s.get_n1(), extra_index ) ); unique_divide_and_add( nodes, FGTriSeg( s.get_n1(), extra_index ) );
unique_divide_and_add( nodes, FGTriSeg( extra_index, s.get_n2() ) ); unique_divide_and_add( nodes, FGTriSeg( extra_index, s.get_n2() ) );
} else { } else {