EgtMachKernel :

- migliorata gestione angoli indeterminati con SCC e DirAux.
This commit is contained in:
Dario Sassi
2017-01-23 07:30:30 +00:00
parent 868559c293
commit 43ee7ed105
4 changed files with 28 additions and 7 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ GetRotationComponent( const Vector3d& vtDir1, double dComp, const Vector3d& vtDi
if ( dDenom * dNumer > 0)
dAng1Deg = dOffsAngRad * RADTODEG ;
else
dAng1Deg = dOffsAngRad * RADTODEG + ANG_STRAIGHT ;
dAng1Deg = dOffsAngRad * RADTODEG + ( dOffsAngRad < 0 ? ANG_STRAIGHT : - ANG_STRAIGHT) ;
bDet = true ;
return 1 ;
}