]> git.mxchange.org Git - flightgear.git/commitdiff
Commented out several debugging output messages.
authorcurt <curt>
Tue, 4 May 1999 21:01:25 +0000 (21:01 +0000)
committercurt <curt>
Tue, 4 May 1999 21:01:25 +0000 (21:01 +0000)
Tools/Construct/Triangulate/trisegs.cxx

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