math.atan()

math.atan (y [, x])

Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly the case of x being zero.)

The default value for x is 1, so that the call math.atan(y) returns the arc tangent of y.

doc_lua
2017-02-21 04:15:01
Comments
Leave a Comment

Please login to continue.