Quellcode durchsuchen

Docs: fix "([param:object meta])" in toJSON() in camera page

gogoend vor 6 Jahren
Ursprung
Commit
e454edb933

+ 1 - 1
docs/api/en/cameras/OrthographicCamera.html

@@ -130,7 +130,7 @@ scene.add( camera );</code>
 		Updates the camera projection matrix. Must be called after any change of parameters.
 		</p>
 
-		<h3>[method:Object toJSON](param:object meta])</h3>
+		<h3>[method:Object toJSON]([param:object meta])</h3>
 		<p>
 		meta -- object containing metadata such as textures or images in objects' descendants.<br />
 		Convert the camera to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].

+ 1 - 1
docs/api/en/cameras/PerspectiveCamera.html

@@ -190,7 +190,7 @@ camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
 		Updates the camera projection matrix. Must be called after any change of parameters.
 		</p>
 
-		<h3>[method:Object toJSON](param:object meta])</h3>
+		<h3>[method:Object toJSON]([param:object meta])</h3>
 		<p>
 		meta -- object containing metadata such as textures or images in objects' descendants.<br />
 		Convert the camera to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].

+ 1 - 1
docs/api/zh/cameras/OrthographicCamera.html

@@ -138,7 +138,7 @@ scene.add( camera );</code>
 
 		</p>
 
-		<h3>[method:Object toJSON](param:object meta])</h3>
+		<h3>[method:Object toJSON]([param:object meta])</h3>
 		<p>
 		meta -- 包含有元数据的对象,例如对象后代中的纹理或图像<br />
 		将摄像机转换为 three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format](three.js JSON 物体/场景格式)。

+ 1 - 1
docs/api/zh/cameras/PerspectiveCamera.html

@@ -187,7 +187,7 @@ camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
 		更新摄像机投影矩阵。在任何参数被改变以后必须被调用。
 		</p>
 
-		<h3>[method:Object toJSON](param:object meta])</h3>
+		<h3>[method:Object toJSON]([param:object meta])</h3>
 		<p>
 		meta -- 包含有元数据的对象,例如对象后代中的纹理或图像<br />
 		将摄像机转换为 three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format](three.js JSON 物体/场景格式)。