Lua
C++
Edit

ATan

This function returns the arc tangent of the specified value.

Syntax

Parameter Description
value tangent value
y Y component of the vector
x X component of the vector

Returns

Returns the arc tangent, or the angle given by the vector XY.

Example

angle = -65.0

s = Sin(angle)
c = Cos(angle)
t = Tan(angle)

Print("Sin: " .. ASin(s))
Print("Cos: " .. ACos(c))
Print("Tan: " .. ATan(t))
Copyright © 2024 Ultra Software.
All rights reserved.