Difference between revisions of "ATan2"
m
Reverted edit of PmcEkv, changed back to last version by Omzy
imported>PmcEkv m |
imported>TS7 m (Reverted edit of PmcEkv, changed back to last version by Omzy) |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | |||
'''Syntax:''' | '''Syntax:''' | ||
Line 14: | Line 14: | ||
*Returns a value from 0 to 180 or 0 to -180 | *Returns a value from 0 to 180 or 0 to -180 | ||
*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 | *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). | ||
==See Also== | ==See Also== |