Переглянути джерело

Docs: fix untranslated parts (#23457)

Jovey Zheng 3 роки тому
батько
коміт
0138219a7f

+ 2 - 2
docs/api/zh/math/Vector2.html

@@ -34,7 +34,7 @@
 		</p>
 
 		<p>
-			Iterating through a Vector2 instance will yield its components (x, y) in the corresponding order.
+			对Vector2实例进行遍历将按相应的顺序生成它的分量(x, y)。
 		</p>
 
 		<h2>代码示例</h2>
@@ -337,7 +337,7 @@
 
 		<h3>[method:this random]()</h3>
 		<p>
-			Sets each component of this vector to a pseudo-random value between 0 and 1, excluding 1.
+			将该向量的每个分量(x、y)设置为介于 0 和 1 之间的伪随机数,不包括 1。
 		</p>
 
 		<h2>源代码</h2>

+ 4 - 4
docs/api/zh/math/Vector3.html

@@ -35,6 +35,10 @@
 		但以上这些是它在three.js中的常用用途。
 		</p>
 
+		<p>
+			对Vector3实例进行遍历将按相应的顺序生成它的分量(x, y, z)。
+		</p>
+
 		<h2>代码示例</h2>
 
 		<code>
@@ -46,10 +50,6 @@
 		const d = a.distanceTo( b );
 		</code>
 
-		<p>
-			Iterating through a Vector3 instance will yield its components (x, y, z) in the corresponding order.
-		</p>
-
 		<h2>构造函数</h2>
 
 		<h3>[name]( [param:Float x], [param:Float y], [param:Float z] )</h3>

+ 1 - 1
docs/api/zh/math/Vector4.html

@@ -46,7 +46,7 @@
 		</code>
 
 		<p>
-			Iterating through a Vector4 instance will yield its components (x, y, z, w) in the corresponding order.
+			对Vector4实例进行遍历将按相应的顺序生成它的分量(x, y, z, w)。
 		</p>
 
 		<h2>构造函数</h2>