瀏覽代碼

Docs: Clean up. (#23530)

Michael Herzog 3 年之前
父節點
當前提交
1c553914ac
共有 2 個文件被更改,包括 2 次插入20 次删除
  1. 0 9
      docs/api/en/geometries/BoxGeometry.html
  2. 2 11
      docs/api/zh/geometries/BoxGeometry.html

+ 0 - 9
docs/api/en/geometries/BoxGeometry.html

@@ -61,15 +61,6 @@
 		<p>
 		An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
 		</p>
- 		<p>
-		Using the above example:
-		<code>
-		geometry.parameters; // {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined, depthSegments: undefined}
-		cube.geometry.parameters; // as above
-		cube.geometry.parameters.width; // === 1
-		cube.geometry.parameters.widthSegments; // === undefined.
-		</code>
-		</p>
 
 		<h2>Methods</h2>
 		<p>See the base [page:BufferGeometry] class for common methods.</p>

+ 2 - 11
docs/api/zh/geometries/BoxGeometry.html

@@ -56,17 +56,8 @@
 
 		<h3>[property:Object parameters]</h3>
 		<p>
-				一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
-			</p>
- 		<p>
-			 使用上面的示例代码来作为基础:
-			<code>
-				geometry.parameters; // outputs an object {width: 1, height: 1, depth: 1, widthSegments: undefined, heightSegments: undefined}
-				cube.geometry.parameters; // as above
-				cube.geometry.parameters.width; // === 1
-				cube.geometry.parameters.widthSegments // === undefined.
-			</code>
- 		</p>
+			一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。
+		</p>
 
 		<h2>方法(Methods)</h2>
 		<p>共有方法请参见其基类[page:BufferGeometry]。</p>