Atan - Math
Member of: Math Script
Calculates the arctangent of the value it is given. The returned value is in degrees.
SyntaxEdit
float Function atan(float afValue) native global
ParametersEdit
- afValue: The value to get the arctangent of.
Return ValueEdit
The arctangent of the passed-in value, in degrees.
ExamplesEdit
float x = math.atan(0.0) ; x == 180
float y = math.atan(1.0) ; y == 45