EgtExecutor 1.9l4 :
- fabs sostituito da abs.
This commit is contained in:
@@ -1659,7 +1659,7 @@ MyRotatePartCluster( IGeomDB* pGeomDB, const INTVECTOR& vTrueIds, BBox3d& b3Clus
|
||||
|
||||
// Se movimento risultante nullo, non faccio alcunché
|
||||
dRotAngDeg = dAng ;
|
||||
if ( fabs( dAng) < EPS_ANG_SMALL)
|
||||
if ( abs( dAng) < EPS_ANG_SMALL)
|
||||
return true ;
|
||||
|
||||
// Eseguo rotazione dei pezzi del cluster
|
||||
@@ -1753,7 +1753,7 @@ ExeAlignPartClusterOnCollision( const INTVECTOR& vIds, bool bReducedCut, bool& b
|
||||
double dU ;
|
||||
if ( ! pCrv->GetParamAtPoint( ptCntL, dU, 10 * EPS_SMALL))
|
||||
return false ;
|
||||
if ( fabs( dU - round( dU)) < 100 * EPS_PARAM)
|
||||
if ( abs( dU - round( dU)) < 100 * EPS_PARAM)
|
||||
dU = round( dU) ;
|
||||
Point3d ptPp ;
|
||||
Vector3d vtTp ;
|
||||
@@ -1780,7 +1780,7 @@ ExeAlignPartClusterOnCollision( const INTVECTOR& vIds, bool bReducedCut, bool& b
|
||||
Point3d ptCen = s_scInfo.ptP1 ;
|
||||
if ( ! ExeRotatePartCluster( vIds, bReducedCut, ptCen, dRotAngDeg))
|
||||
return false ;
|
||||
bMoved = ( fabs( dRotAngDeg) > 100.0 * EPS_ANG_ZERO) ;
|
||||
bMoved = ( abs( dRotAngDeg) > 100.0 * EPS_ANG_ZERO) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user