I\'ve got a little Problem with the Math.cos() method. I know, I have to convert the angle to Radians before using Math.cos(). But if I just do:
Math.cos()
The value is very close to the correct result. It seems like a loss of precision in the floating point operations of transforming degrees to radians.