Просмотр исходного кода

typo fix in Matrix4 docs (#23825)

* die, extra comma

* 死,逗号
makc 3 лет назад
Родитель
Сommit
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>
 		<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>
 			Constructs a rotation matrix, looking from [page:Vector3 eye] towards [page:Vector3 target]
 			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>
 		<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>
 			构造一个旋转矩阵,从[page:Vector3 eye] 指向 [page:Vector3 target],由向量 [page:Vector3 up] 定向。
 		</p>