diff options
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/arc.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/arc.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/glu/sgi/libnurbs/internals/arc.cc b/src/glu/sgi/libnurbs/internals/arc.cc index f795e00cd7e..b85139de937 100644 --- a/src/glu/sgi/libnurbs/internals/arc.cc +++ b/src/glu/sgi/libnurbs/internals/arc.cc @@ -156,9 +156,9 @@ void Arc::show() { #ifndef NDEBUG - dprintf( "\tPWLARC NP: %d FL: 1\n", pwlArc->npts ); + _glu_dprintf( "\tPWLARC NP: %d FL: 1\n", pwlArc->npts ); for( int i = 0; i < pwlArc->npts; i++ ) { - dprintf( "\t\tVERTEX %f %f\n", pwlArc->pts[i].param[0], + _glu_dprintf( "\t\tVERTEX %f %f\n", pwlArc->pts[i].param[0], pwlArc->pts[i].param[1] ); } #endif @@ -175,14 +175,14 @@ Arc::print( void ) Arc_ptr jarc = this; #ifndef NDEBUG - dprintf( "BGNTRIM\n" ); + _glu_dprintf( "BGNTRIM\n" ); #endif do { jarc->show( ); jarc = jarc->next; } while (jarc != this); #ifndef NDEBUG - dprintf("ENDTRIM\n" ); + _glu_dprintf("ENDTRIM\n" ); #endif } @@ -203,8 +203,8 @@ Arc::isDisconnected( void ) if( ((p0[0] - p1[0]) > ZERO) || ((p1[0] - p0[0]) > ZERO) || ((p0[1] - p1[1]) > ZERO) || ((p1[1] - p0[1]) > ZERO) ) { #ifndef NDEBUG - dprintf( "x coord = %f %f %f\n", p0[0], p1[0], p0[0] - p1[0] ); - dprintf( "y coord = %f %f %f\n", p0[1], p1[1], p0[1] - p1[1] ); + _glu_dprintf( "x coord = %f %f %f\n", p0[0], p1[0], p0[0] - p1[0] ); + _glu_dprintf( "y coord = %f %f %f\n", p0[1], p1[1], p0[1] - p1[1] ); #endif return 1; } else { @@ -244,7 +244,7 @@ Arc::check( void ) if (jarc->prev == 0 || jarc->next == 0) { #ifndef NDEBUG - dprintf( "checkjarc:null next/prev pointer\n"); + _glu_dprintf( "checkjarc:null next/prev pointer\n"); jarc->print( ); #endif return 0; @@ -252,7 +252,7 @@ Arc::check( void ) if (jarc->next->prev != jarc) { #ifndef NDEBUG - dprintf( "checkjarc: pointer linkage screwed up\n"); + _glu_dprintf( "checkjarc: pointer linkage screwed up\n"); jarc->print( ); #endif return 0; @@ -271,7 +271,7 @@ Arc::check( void ) if( jarc->prev->pwlArc ) { if( jarc->tail()[1] != jarc->prev->rhead()[1] ) { #ifndef NDEBUG - dprintf( "checkjarc: geometric linkage screwed up 1\n"); + _glu_dprintf( "checkjarc: geometric linkage screwed up 1\n"); jarc->prev->show(); jarc->show(); #endif @@ -280,7 +280,7 @@ Arc::check( void ) if( jarc->tail()[0] != jarc->prev->rhead()[0] ) { #ifndef NDEBUG - dprintf( "checkjarc: geometric linkage screwed up 2\n"); + _glu_dprintf( "checkjarc: geometric linkage screwed up 2\n"); jarc->prev->show(); jarc->show(); #endif @@ -290,7 +290,7 @@ Arc::check( void ) if( jarc->next->pwlArc ) { if( jarc->next->tail()[0] != jarc->rhead()[0] ) { #ifndef NDEBUG - dprintf( "checkjarc: geometric linkage screwed up 3\n"); + _glu_dprintf( "checkjarc: geometric linkage screwed up 3\n"); jarc->show(); jarc->next->show(); #endif @@ -298,7 +298,7 @@ Arc::check( void ) } if( jarc->next->tail()[1] != jarc->rhead()[1] ) { #ifndef NDEBUG - dprintf( "checkjarc: geometric linkage screwed up 4\n"); + _glu_dprintf( "checkjarc: geometric linkage screwed up 4\n"); jarc->show(); jarc->next->show(); #endif |