Difference between revisions of "ATan2"

Jump to navigation Jump to search
102 bytes added ,  05:49, 29 April 2012
Clarifying the order of the parameters
imported>Wrye
m (Atan2 moved to ATan2: Follow OBSE docs capitialization.)
imported>QQuix
(Clarifying the order of the parameters)
Line 17: Line 17:
*From v0005, all OBSE trigonometric functions take and return degrees. Versions of the functions which accept radians are still available by prefixing the function name with an r. (i.e. ratan2)
*From v0005, all OBSE trigonometric functions take and return degrees. Versions of the functions which accept radians are still available by prefixing the function name with an r. (i.e. ratan2)
*This function can be used in a mathematical formula (c + atan2 a b), but a mathematical formula as the arguement for this function will not give correct result (the result of atan2 a (b + c) will be a+b+c).
*This function can be used in a mathematical formula (c + atan2 a b), but a mathematical formula as the arguement for this function will not give correct result (the result of atan2 a (b + c) will be a+b+c).
*The first float represents the opposite side and the second float the adjacent side of the triangle.


==See Also==
==See Also==
Anonymous user

Navigation menu