EgtMachKernel :
- fabs sostituito da abs.
This commit is contained in:
+2
-2
@@ -838,8 +838,8 @@ Machine::GetMyAngles( const Vector3d& vtDirT, const Vector3d& vtDirA,
|
||||
dTemp = 1 - dCompHSuAxR1 * dCompHSuAxR1 ;
|
||||
double dCompHOrtAxR1 = ( ( dTemp > EPS_ZERO) ? sqrt( dTemp) : 0) ;
|
||||
// verifica ( controllo verso e max delta angolare < 0.002 deg)
|
||||
if ( fabs( dCompTSuAxR1 - dCompHSuAxR1) < EPS_SMALL &&
|
||||
fabs( dCompTOrtAxR1 * dCompHSuAxR1 - dCompHOrtAxR1 * dCompTSuAxR1) < 2 * SIN_EPS_ANG_SMALL) {
|
||||
if ( abs( dCompTSuAxR1 - dCompHSuAxR1) < EPS_SMALL &&
|
||||
abs( dCompTOrtAxR1 * dCompHSuAxR1 - dCompHOrtAxR1 * dCompTSuAxR1) < 2 * SIN_EPS_ANG_SMALL) {
|
||||
nStat = 1 ;
|
||||
vtDirH1 = vtDirHn ;
|
||||
vtDirI1 = vtDirIn ;
|
||||
|
||||
Reference in New Issue
Block a user