瀏覽代碼

Merge pull request #10161 from NaughtyGnosiophile/master

Added missing descriptions to Vector2 methods abs and clamped
Rémi Verschelde 8 年之前
父節點
當前提交
0cfb577bea
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/base/classes.xml

+ 3 - 1
doc/base/classes.xml

@@ -49814,6 +49814,7 @@
 			<return type="Vector2">
 			</return>
 			<description>
+				Returns a new vector with all components in absolute values (i.e. positive).
 			</description>
 		</method>
 		<method name="angle">
@@ -49864,6 +49865,7 @@
 			<argument index="0" name="length" type="float">
 			</argument>
 			<description>
+				Returns the vector with a maximum length.
 			</description>
 		</method>
 		<method name="cubic_interpolate">
@@ -50034,7 +50036,7 @@
 			<return type="Vector3">
 			</return>
 			<description>
-				Returns a new vector with all components in absolute values (e.g. positive).
+				Returns a new vector with all components in absolute values (i.e. positive).
 			</description>
 		</method>
 		<method name="angle_to">