Browse Source

Docs: Corrected and completed CubeGeometry page.

Mr.doob 13 years ago
parent
commit
69f798ce5d
1 changed files with 9 additions and 24 deletions
  1. 9 24
      docs/api/extras/geometries/CubeGeometry.html

+ 9 - 24
docs/api/extras/geometries/CubeGeometry.html

@@ -14,33 +14,18 @@
 
 		<h2>Constructor</h2>
 
-		<h3>CubeGeometry(width, height, depth, segmentsWidth, segmentsHeight, segmentsDepth, materials, side)</h3>
-			width — Width of the quad on the X axis.
-			height — Height of the quad on the Y axis.
-			depth — Depth of the quad on the Z axis.
-			segmentsWidth — Number of segmented faces along the width of the quad.
-			segmentsHeight — Number of segmented faces along the height of the quad.
-			segmentsDepth — Number of segmented faces along the depth of the quad.
-			materials — A material defined in array form.<h3>.[page:Material]</h3>
-			sides — The culling policy, which is either THREE.FrontSide , THREE.BackSide , or THREE.DoubleSide 
-
-		<h2>Properties</h2>
-
-		<h3>.[page:Vector3 todo]</h3>
-
-
-		<h2>Methods</h2>
-
-		<h3>this.computeCentroids()</h3>
-		<div>
-		todo — todo<br />
-		</div>
-		<h3>this.mergeVertices()</h3>
+		<h3>[name]([page:Float width], [page:Float height], [page:Float depth], [page:Integer segmentsWidth], [page:Integer segmentsHeight], [page:Integer segmentsDepth], [page:Array materials], [page:Array sides])</h3>
 		<div>
-		todo — todo<br />
+		width — Width of the sides on the X axis.<br />
+		height — Height of the sides on the Y axis.<br />
+		depth — Depth of the sides on the Z axis.<br />
+		segmentsWidth — Number of segmented faces along the width of the sides.<br />
+		segmentsHeight — Number of segmented faces along the height of the sides.<br />
+		segmentsDepth — Number of segmented faces along the depth of the sides.<br />
+		materials — An array containing six [page:Material]s.<br />
+		sides — An array containig six [page:Boolean]s defining whether the side needs to be created.
 		</div>
 
-
 		<h2>Source</h2>
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]