math.atan2
From GMod Wiki
Revision as of 14:41, 13 September 2009 by UnrealomegaBot (Talk | contribs)
Function | |
Syntax |
math.atan2( y, x ) Where is this used? |
Description: | |
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.) | |
Returns: | Number number |
Part of Library: | Math |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Math.atan2]Math.atan2 [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |