Atan - Math

From Creation Kit
Jump to: navigation, search

Member of: Math Script

Calculates the arctangent of the value it is given. The returned value is in degrees.


float Function atan(float afValue) native global


  • afValue: The value to get the arctangent of.

Return Value

The arctangent of the passed-in value, in degrees.


float x = atan(0) ; x == 180
float y = acos(1) ; y == 45

See Also