Skip to content

Commit

Permalink
Docs: Add Euler, Quaternion and Color iterable for zh. (#23985)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan authored May 5, 2022
1 parent 811fe24 commit 8d3a5fe
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/api/zh/math/Color.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1>颜色([name])</h1>
表示一个颜色。
</p>

<p>
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (r, g, b)。
</p>

<h2>代码示例</h2>
颜色可以用以下任意一种方式初始化。
Expand Down
4 changes: 4 additions & 0 deletions docs/api/zh/math/Euler.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ <h1>欧拉角([name])</h1>
欧拉角描述一个旋转变换,通过指定轴顺序和其各个轴向上的指定旋转角度来旋转一个物体。
</p>

<p>
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (x, y, z, order)。
</p>

<h2>代码示例</h2>

<code>
Expand Down
4 changes: 4 additions & 0 deletions docs/api/zh/math/Quaternion.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ <h1>四元数([name])</h1>
四元数在three.js中用于表示 [link:https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation rotation] (旋转)。
</p>

<p>
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (x, y, z, w)。
</p>

<h2>代码示例</h2>

<code>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector2.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>二维向量([name])</h1>
</p>

<p>
对Vector2实例进行遍历将按相应的顺序生成它的分量(x, y)。
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (x, y)。
</p>

<h2>代码示例</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector3.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>三维向量([name])</h1>
</p>

<p>
对Vector3实例进行遍历将按相应的顺序生成它的分量(x, y, z)。
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (x, y, z)。
</p>

<h2>代码示例</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector4.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2>代码示例</h2>
</code>

<p>
对Vector4实例进行遍历将按相应的顺序生成它的分量(x, y, z, w)。
对 [name] 实例进行遍历将按相应的顺序生成它的分量 (x, y, z, w)。
</p>

<h2>构造函数</h2>
Expand Down

0 comments on commit 8d3a5fe

Please sign in to comment.