From 9838c4df7c7f8e4e30c71d02677676a40e528ab2 Mon Sep 17 00:00:00 2001 From: Jared Date: Wed, 27 Mar 2019 18:13:37 +0200 Subject: [PATCH] Corrects small typo in atan2() documentation. --- doc/classes/@GDScript.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 7b4b3e43baf..0a430fea4d1 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -127,7 +127,7 @@ 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]