EgtGeomKernel :

- piccoli ritocchi.
This commit is contained in:
Dario Sassi
2014-04-07 07:02:19 +00:00
parent 985729fd47
commit d509417136
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ Vector3d::ToSpherical( double* pdLen, double* pdAngVertDeg, double* pdAngOrizzDe
// Normalizzazione di un vettore (trasformazione in versore)
//----------------------------------------------------------------------------
bool
Vector3d::Normalize( void)
Vector3d::Normalize( double dEps)
{
double dSqLen ;
double dLen ;
@@ -144,7 +144,7 @@ Vector3d::Normalize( void)
return true ;
// se troppo piccolo, errore
if ( fabs( dSqLen) < ( EPS_SMALL * EPS_SMALL))
if ( fabs( dSqLen) < ( dEps * dEps))
return false ;
// eseguo la normalizzazione