2
0
Эх сурвалжийг харах

Merge pull request #19794 from Calinou/document-vector2-vector3-round

Document Vector2.round() and Vector3.round()
Rémi Verschelde 7 жил өмнө
parent
commit
68f7cf13c7

+ 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">