浏览代码

Fix ambiguity in angle_difference function documentation

Co-authored-by: A Thousand Ships <[email protected]>
Luna 1 年之前
父节点
当前提交
fffed28f9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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="1" name="to" type="float" />
 			<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>
 		</method>
 		<method name="asin">