Skip to content

Commit

Permalink
Update docs/api/extras/geometries/CubeGeometry.html
Browse files Browse the repository at this point in the history
Greets,
A first attempt at assisting in completion the API documentation.
Please advise: @jackpryne
Si ya hay documentacion Española, yo puedo transcribir al Ingles.
  • Loading branch information
jpryne committed Sep 10, 2012
1 parent 6d3b258 commit c355157
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/api/extras/geometries/CubeGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -24,7 +31,11 @@ <h3>.[page:Vector3 todo]</h3>

<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>
Expand Down

0 comments on commit c355157

Please sign in to comment.