Jelajahi Sumber

Merge pull request #102824 from 3DartBlade/patch-1

Clarify that `Vector2.angle_to` returns a signed angle
Thaddeus Crews 5 bulan lalu
induk
melakukan
f41987356d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      doc/classes/Vector2.xml

+ 1 - 1
doc/classes/Vector2.xml

@@ -67,7 +67,7 @@
 			<return type="float" />
 			<return type="float" />
 			<param index="0" name="to" type="Vector2" />
 			<param index="0" name="to" type="Vector2" />
 			<description>
 			<description>
-				Returns the angle to the given vector, in radians.
+				Returns the signed angle to the given vector, in radians.
 				[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.png]Illustration of the returned angle.[/url]
 				[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.png]Illustration of the returned angle.[/url]
 			</description>
 			</description>
 		</method>
 		</method>