diff options
author | Brian Paul <[email protected]> | 2001-08-13 16:52:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-08-13 16:52:18 +0000 |
commit | 978a2a0a43ccdb9090cf19b38347b1aa2d4c8f5e (patch) | |
tree | 01a12bc103fa3f8350cb3dc54fd5272ffd766ba7 /src/glu/sgi/libnurbs/internals/curve.cc | |
parent | 2e5a20ae21ab8c25cc3eb211e713a5712c3ee5cb (diff) |
fixed Solaris compilation problems (Bug 441817)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/curve.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/curve.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/internals/curve.cc b/src/glu/sgi/libnurbs/internals/curve.cc index 70e7251573f..5a5bc1770c1 100644 --- a/src/glu/sgi/libnurbs/internals/curve.cc +++ b/src/glu/sgi/libnurbs/internals/curve.cc @@ -35,8 +35,8 @@ /* * curve.c++ * - * $Date: 2001/03/17 00:25:40 $ $Revision: 1.1 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/curve.cc,v 1.1 2001/03/17 00:25:40 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/curve.cc,v 1.2 2001/08/13 16:52:18 brianp Exp $ */ #include "glimports.h" @@ -170,7 +170,7 @@ Curve::getstepsize( void ) REAL t = mapdesc->getProperty( N_PIXEL_TOLERANCE ); if( mapdesc->isParametricDistanceSampling() ) { REAL d = mapdesc->calcPartialVelocity( &tmp[0][0], tstride, order, 2, range[2] ); - stepsize = (d > 0.0) ? ::sqrtf( 8.0 * t / d ) : range[2]; + stepsize = (d > 0.0) ? sqrtf( 8.0 * t / d ) : range[2]; minstepsize = ( mapdesc->maxrate > 0.0 ) ? (range[2] / mapdesc->maxrate) : 0.0; } else if( mapdesc->isPathLengthSampling() ) { // t is upper bound on path (arc) length |