public static final double angleDiff(double anAngle1, double anAngle2)
    {
        double angle;
        anAngle1 = normalizeAngle(anAngle1);
        anAngle2 = normalizeAngle(anAngle2);
        angle = anAngle2 - anAngle1;
        angle = normalizeAngle(angle);
        return signed(angle);
    }
public static final double angleDiff ( double anAngle1 , double anAngle2 ) { double angle ; anAngle1 = normalizeAngle ( anAngle1 ) ; anAngle2 = normalizeAngle ( anAngle2 ) ; angle = anAngle2 - anAngle1 ; angle = normalizeAngle ( angle ) ; return signed ( angle ) ; }
@param anAngle1 in degrees
@param anAngle2 in degrees
@return Angle difference normalized between 0 - 180 degrees. If anAngle2 is right to anAngle1 returns + signed