|
@@ -7,15 +7,22 @@
|
|
|
<link type="text/css" rel="stylesheet" href="../../../page.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
- <h1>[name]</h1>
|
|
|
+ <h1>CubeGeometry</h1>
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
+ <div class="desc">CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided within the (optional) 'width', 'height', & 'depth' constructor arguments.</div>
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
- <h3>[name]()</h3>
|
|
|
-
|
|
|
+ <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>
|
|
|
|
|
@@ -24,7 +31,11 @@
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
- <h3>.todo( [page:Vector3 todo] )</h3>
|
|
|
+ <h3>this.computeCentroids()</h3>
|
|
|
+ <div>
|
|
|
+ todo — todo<br />
|
|
|
+ </div>
|
|
|
+ <h3>this.mergeVertices()</h3>
|
|
|
<div>
|
|
|
todo — todo<br />
|
|
|
</div>
|