From d910af9fb461e4b2bc402721bd6cdba64bb0c9bb Mon Sep 17 00:00:00 2001 From: puxiao Date: Mon, 26 Jul 2021 06:07:27 -0500 Subject: [PATCH] [Docs/zh]: Update Matrix3.html and Matrix4.html (#22184) * Update Matrix4.html * Update Matrix3.html * Update Matrix4.html --- docs/api/zh/math/Matrix3.html | 6 ++---- docs/api/zh/math/Matrix4.html | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/api/zh/math/Matrix3.html b/docs/api/zh/math/Matrix3.html index 7e35d0c916..d5eb38416b 100644 --- a/docs/api/zh/math/Matrix3.html +++ b/docs/api/zh/math/Matrix3.html @@ -102,9 +102,7 @@ zAxis = (c, f, i)

[method:this invert]()

- 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 的矩阵进行翻转,如果你尝试这样做,该方法将生成一个零矩阵。

[method:this getNormalMatrix]( [param:Matrix4 m] )

@@ -153,7 +151,7 @@ zAxis = (c, f, i)

将矩阵[page:Matrix3 m]乘以当前矩阵。

[method:this setFromMatrix4]( [param:Matrix4 m] )

-

将当前矩阵设置为4X4矩阵[page:Matrix4 m]左上3X3

+

根据参数 [page:Matrix4 m] 左上 3x3 的矩阵值,设置当前矩阵的值。

[method:this setUvTransform]( [param:Float tx], [param:Float ty], [param:Float sx], [param:Float sy], [param:Float rotation], [param:Float cx], [param:Float cy] )

diff --git a/docs/api/zh/math/Matrix4.html b/docs/api/zh/math/Matrix4.html index 018321d303..59c5b2cfb2 100644 --- a/docs/api/zh/math/Matrix4.html +++ b/docs/api/zh/math/Matrix4.html @@ -175,9 +175,7 @@ zAxis = (c, g, k)

[method:this invert]()

- 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 的矩阵进行翻转,如果你尝试这样做,该方法将生成一个零矩阵。

[method:Float getMaxScaleOnAxis]()

@@ -353,7 +351,7 @@ x, y, 1, 0,

[method:this setFromMatrix3]( [param:Matrix3 m] )

-

Set the upper 3x3 elements of this matrix to the values of the Matrix3 [page:Matrix3 m].

+

根据参数 [page:Matrix3 m] 的值,设置当前矩阵左上 3x3 的矩阵值。

[method:this setPosition]( [param:Vector3 v] )

[method:this setPosition]( [param:Float x], [param:Float y], [param:Float z] ) // optional API

-- GitLab