diff options
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/mapdescv.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/mapdescv.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/glu/sgi/libnurbs/internals/mapdescv.cc b/src/glu/sgi/libnurbs/internals/mapdescv.cc index 5c26664451c..3d18b47b112 100644 --- a/src/glu/sgi/libnurbs/internals/mapdescv.cc +++ b/src/glu/sgi/libnurbs/internals/mapdescv.cc @@ -35,8 +35,8 @@ /* * mapdescv.c++ * - * $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/mapdescv.cc,v 1.1 2001/03/17 00:25:41 brianp Exp $ + * $Date: 2001/08/13 16:52:18 $ $Revision: 1.2 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/mapdescv.cc,v 1.2 2001/08/13 16:52:18 brianp Exp $ */ #include "glimports.h" @@ -93,7 +93,7 @@ Mapdesc::calcPartialVelocity ( REAL max = 0.0; for( j=0; j != ncols-partial; j++ ) if( mag[j] > max ) max = mag[j]; - max = fac * ::sqrtf( (float) max ); + max = fac * sqrtf( (float) max ); return max; } @@ -217,8 +217,8 @@ Mapdesc::calcPartialVelocity ( j = ncols-tpartial-1; if( mag[i][j] > dist[1] ) dist[1] = mag[i][j]; } - dist[0] = fac * ::sqrtf( dist[0] ); - dist[1] = fac * ::sqrtf( dist[1] ); + dist[0] = fac * sqrtf( dist[0] ); + dist[1] = fac * sqrtf( dist[1] ); } else if( side == 1 ) { // compute max magnitude of first and last row dist[0] = 0.0; @@ -230,11 +230,11 @@ Mapdesc::calcPartialVelocity ( i = nrows-spartial-1; if( mag[i][j] > dist[1] ) dist[1] = mag[i][j]; } - dist[0] = fac * ::sqrtf( dist[0] ); - dist[1] = fac * ::sqrtf( dist[1] ); + dist[0] = fac * sqrtf( dist[0] ); + dist[1] = fac * sqrtf( dist[1] ); } - max = fac * ::sqrtf( (float) max ); + max = fac * sqrtf( (float) max ); return max; } |