Skip to content

Commit 50bbc3a

Browse files
committed
Merge pull request godotengine#96473 from LunaTheFoxgirl/patch-1
Fix ambiguity in `angle_difference` function documentation
2 parents 2bae7fb + fee0a6c commit 50bbc3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/classes/@GlobalScope.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<param index="0" name="from" type="float" />
9191
<param index="1" name="to" type="float" />
9292
<description>
93-
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.
93+
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.
9494
</description>
9595
</method>
9696
<method name="asin">

0 commit comments

Comments
 (0)