summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-27 17:26:53 +0100
committerGitHub <noreply@github.com>2019-03-27 17:26:53 +0100
commit174b19f768f50c7078ba49dcdf85d9d85ac4e875 (patch)
treed37fd9668ad6d4fc2d6c41bf780f27524f74e846
parenta8beb6a1a51af135e3cf8a905ab8ba7f3658b34f (diff)
parent9838c4df7c7f8e4e30c71d02677676a40e528ab2 (diff)
Merge pull request #27461 from avencherus/atan2-doc
Corrects small typo in atan2() documentation.
-rw-r--r--doc/classes/@GDScript.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml
index 7b4b3e43ba..0a430fea4d 100644
--- a/doc/classes/@GDScript.xml
+++ b/doc/classes/@GDScript.xml
@@ -127,7 +127,7 @@
<description>
Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle of tangent [code]y/x[/code]. To compute the value, the method takes into account the sign of both arguments in order to determine the quadrant.
[codeblock]
- a = atan(0, -1) # a is 3.141593
+ a = atan2(0, -1) # a is 3.141593
[/codeblock]
</description>
</method>