瀏覽代碼

typo fix in Matrix4 docs (#23825)

* die, extra comma

* 死,逗号
makc 3 年之前
父節點
當前提交
d5c69f9860
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/api/en/math/Matrix4.html
  2. 1 1
      docs/api/zh/math/Matrix4.html

+ 1 - 1
docs/api/en/math/Matrix4.html

@@ -202,7 +202,7 @@ zAxis = (c, g, k)
 		<h3>[method:this identity]()</h3>
 		<h3>[method:this identity]()</h3>
 		<p>Resets this matrix to the [link:https://en.wikipedia.org/wiki/Identity_matrix identity matrix].</p>
 		<p>Resets this matrix to the [link:https://en.wikipedia.org/wiki/Identity_matrix identity matrix].</p>
 
 
-		<h3>[method:this lookAt]( [param:Vector3 eye], [param:Vector3 target], [param:Vector3 up], )</h3>
+		<h3>[method:this lookAt]( [param:Vector3 eye], [param:Vector3 target], [param:Vector3 up] )</h3>
 		<p>
 		<p>
 			Constructs a rotation matrix, looking from [page:Vector3 eye] towards [page:Vector3 target]
 			Constructs a rotation matrix, looking from [page:Vector3 eye] towards [page:Vector3 target]
 			oriented by the [page:Vector3 up] vector.
 			oriented by the [page:Vector3 up] vector.

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

@@ -187,7 +187,7 @@ zAxis = (c, g, k)
 		<h3>[method:this identity]()</h3>
 		<h3>[method:this identity]()</h3>
 		<p>将当前矩阵重置为单位矩阵[link:https://en.wikipedia.org/wiki/Identity_matrix identity matrix]。</p>
 		<p>将当前矩阵重置为单位矩阵[link:https://en.wikipedia.org/wiki/Identity_matrix identity matrix]。</p>
 
 
-		<h3>[method:this lookAt]( [param:Vector3 eye], [param:Vector3 target], [param:Vector3 up], )</h3>
+		<h3>[method:this lookAt]( [param:Vector3 eye], [param:Vector3 target], [param:Vector3 up] )</h3>
 		<p>
 		<p>
 			构造一个旋转矩阵,从[page:Vector3 eye] 指向 [page:Vector3 target],由向量 [page:Vector3 up] 定向。
 			构造一个旋转矩阵,从[page:Vector3 eye] 指向 [page:Vector3 target],由向量 [page:Vector3 up] 定向。
 		</p>
 		</p>