Difference between revisions of "Atan - Math"
Jump to navigation
Jump to search
imported>Nali |
imported>JLundin |
||
Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Non-delayed Native Function]] | |||
'''Member of:''' [[Math Script]] | '''Member of:''' [[Math Script]] | ||
Revision as of 07:55, 12 September 2012
Member of: Math Script
Calculates the arctangent of the value it is given. The returned value is in degrees.
Syntax
float Function atan(float afValue) native global
Parameters
- afValue: The value to get the arctangent of.
Return Value
The arctangent of the passed-in value, in degrees.
Examples
float x = math.atan(0) ; x == 180
float y = math.acos(1) ; y == 45