未验证 提交 d910af9f 编写于 作者: P puxiao 提交者: GitHub

[Docs/zh]: Update Matrix3.html and Matrix4.html (#22184)

* Update Matrix4.html

* Update Matrix3.html

* Update Matrix4.html
上级 36b48d3b
......@@ -102,9 +102,7 @@ zAxis = (c, f, i)
<h3>[method:this invert]()</h3>
<p>
Inverts this matrix, using the [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method].
You can not invert with a determinant of zero. If you attempt this, the method produces a zero matrix instead.
将当前矩阵翻转为它的逆矩阵,使用 [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method] 解析方式。你不能对行或列为 0 的矩阵进行翻转,如果你尝试这样做,该方法将生成一个零矩阵。
</p>
<h3>[method:this getNormalMatrix]( [param:Matrix4 m] )</h3>
......@@ -153,7 +151,7 @@ zAxis = (c, f, i)
<p>将矩阵[page:Matrix3 m]乘以当前矩阵。</p>
<h3>[method:this setFromMatrix4]( [param:Matrix4 m] )</h3>
<p>将当前矩阵设置为4X4矩阵[page:Matrix4 m]左上3X3</p>
<p>根据参数 [page:Matrix4 m] 左上 3x3 的矩阵值,设置当前矩阵的值。</p>
<h3>[method:this setUvTransform]( [param:Float tx], [param:Float ty], [param:Float sx], [param:Float sy], [param:Float rotation], [param:Float cx], [param:Float cy] )</h3>
<p>
......
......@@ -175,9 +175,7 @@ zAxis = (c, g, k)
<h3>[method:this invert]()</h3>
<p>
Inverts this matrix, using the [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method].
You can not invert with a determinant of zero. If you attempt this, the method produces a zero matrix instead.
将当前矩阵翻转为它的逆矩阵,使用 [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method] 解析方式。你不能对行或列为 0 的矩阵进行翻转,如果你尝试这样做,该方法将生成一个零矩阵。
</p>
<h3>[method:Float getMaxScaleOnAxis]()</h3>
......@@ -353,7 +351,7 @@ x, y, 1, 0,
</p>
<h3>[method:this setFromMatrix3]( [param:Matrix3 m] )</h3>
<p>Set the upper 3x3 elements of this matrix to the values of the Matrix3 [page:Matrix3 m].</p>
<p>根据参数 [page:Matrix3 m] 的值,设置当前矩阵左上 3x3 的矩阵值。</p>
<h3>[method:this setPosition]( [param:Vector3 v] )</h3>
<h3>[method:this setPosition]( [param:Float x], [param:Float y], [param:Float z] ) // optional API</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册