Atan - Math
Revision as of 18:13, 4 March 2010 by imported>Jlundin (New page: Category:Scripting Category:Papyrus '''Member of:''' Math Script Calculates the arctangent of the value it is given. The returned value is in degrees. == Syntax == <source la...)
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 = atan(0) ; x == 180
float y = acos(1) ; y == 45