LuaNET, the lua 5.1 api documentation!

Lua-Api

Math

[LUA 5.1] math.atan2

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

Comments

© 2007 DracoBlue :: Valid XHTML, CSS, RSS Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC | SourceNet © 2007, DracoBlue :: Page created in 0.238 seconds with 22 queries.