浏览代码

Document Vector2.round() and Vector3.round()

Hugo Locurcio 7 年之前
父节点
当前提交
61fd3cd32a
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      doc/classes/Vector2.xml
  2. 1 0
      doc/classes/Vector3.xml

+ 1 - 0
doc/classes/Vector2.xml

@@ -207,6 +207,7 @@
 			<return type="Vector2">
 			</return>
 			<description>
+				Returns the vector with all components rounded to the nearest integer, with halfway cases rounded away from zero.
 			</description>
 		</method>
 		<method name="slerp">

+ 1 - 0
doc/classes/Vector3.xml

@@ -208,6 +208,7 @@
 			<return type="Vector3">
 			</return>
 			<description>
+				Returns the vector with all components rounded to the nearest integer, with halfway cases rounded away from zero.
 			</description>
 		</method>
 		<method name="slerp">