This function returns the arc tangent of the specified value.
Parameter | Description |
---|---|
value | tangent value |
y | Y component of the vector |
x | X component of the vector |
Returns the arc tangent, or the angle given by the vector XY.
angle = -65.0
s = Sin(angle)
c = Cos(angle)
t = Tan(angle)
Print("Sin: " .. ASin(s))
Print("Cos: " .. ACos(c))
Print("Tan: " .. ATan(t))