Hello,
there is a minor (but important) error in the FastMath.atan method’s javadoc:
[java]public static float atan(float fValue)
Returns the arc tangent of an angle given in radians.
Parameters:
fValue - The angle, in radians.
Returns:
fValue’s atan
See Also:
Math.atan(double)[/java]
The Math.atan method does it right. You can read a suitable javadoc there.
Usually, you do not put angles into inverse triogonometric functions like arctangens (atan).
Usually, you get angles from them and put edge-ratios in there…