EgtGeomKernel :
- piccoli ritocchi.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user