Browse Source

Merge pull request #96473 from LunaTheFoxgirl/patch-1

Fix ambiguity in `angle_difference` function documentation
Rémi Verschelde 1 year ago
parent
commit
a985d59603
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/@GlobalScope.xml

+ 1 - 1
doc/classes/@GlobalScope.xml

@@ -90,7 +90,7 @@
 			<param index="0" name="from" type="float" />
 			<param index="0" name="from" type="float" />
 			<param index="1" name="to" type="float" />
 			<param index="1" name="to" type="float" />
 			<description>
 			<description>
-				Returns the difference between the two angles, in the range of [code][-PI, +PI][/code]. When [param from] and [param to] are opposite, returns [code]-PI[/code] if [param from] is smaller than [param to], or [code]PI[/code] otherwise.
+				Returns the difference between the two angles (in radians), in the range of [code][-PI, +PI][/code]. When [param from] and [param to] are opposite, returns [code]-PI[/code] if [param from] is smaller than [param to], or [code]PI[/code] otherwise.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="asin">
 		<method name="asin">