27.08.2010, 14:01
Yep, the , is correct. There are two types of atan, the normal one (this would require a / ) and atan2 (easier to use)
The result will be the angle in degrees. Maybe it can be a negative value, not sure about this atm, if it is, you can add 180 to the result to make it more useful.
The result will be the angle in degrees. Maybe it can be a negative value, not sure about this atm, if it is, you can add 180 to the result to make it more useful.