diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-20 18:47:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-20 18:47:18 +0100 |
commit | 0c8dda80ff23859ca9faf6ed1033427c22acb4d8 (patch) | |
tree | 86dca24cb0c473d3b3db80a372de5c88aed5f44a /doc | |
parent | 497efa720cb53f4ddaef661739493069c102db0d (diff) |
Update Vector2.angle() description
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index d0ea373f5c..44a7cccfe5 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -37501,6 +37501,8 @@ This method controls whether the position between two cached points is interpola <return type="float"> </return> <description> + Returns the result of atan2 when called with the Vector's x and y as parameters (Math::atan2(x,y)). + Be aware that it therefore returns an angle oriented clockwise with regard to the (0, 1) unit vector, and not an angle oriented counter-clockwise with regard to the (1, 0) unit vector (which would be the typical trigonometric representation of the angle when calling Math::atan2(y,x)). </description> </method> <method name="angle_to"> |