Skip to content

Commit ab22cf4

Browse files
committed
Documentation: Starting Face3
1 parent dda3846 commit ab22cf4

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

docs/api/core/Color.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ <h1>[name]</h1>
55
</div>
66

77

8+
<h2>Example</h2>
9+
10+
<code>var color = new THREE.Color( 0xff0000 );</code>
11+
12+
813
<h2>Constructor</h2>
914

1015
<h3>[name]( [page:Number hex])</h3>

docs/api/core/Face3.html

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,41 @@
11
<h1>[name]</h1>
22

3-
<div class="desc">todo</div>
3+
<div class="desc">
4+
Triangle face.
5+
</div>
6+
7+
8+
<h2>Example</h2>
9+
10+
<code>var face = new THREE.Face3( 0, 1, 2, new THREE.Vector3( 0, 1, 0 ), new THREE.Color( 0xffaa00 ), 0 );</code>
411

512

613
<h2>Constructor</h2>
714

8-
<h3>[name]()</h3>
15+
<h3>[name]( [page:Number a], [page:Number b], [page:Number c], [page:Vector3 normal], [page:Color color], [page:Number materialIndex] )</h3>
916

1017

1118
<h2>Properties</h2>
1219

13-
<h3>.[page:Vector3 todo]</h3>
20+
<h3>.[page:Number a]</h3>
1421

22+
<h3>.[page:Number b]</h3>
1523

16-
<h2>Methods</h2>
24+
<h3>.[page:Number c]</h3>
1725

18-
<h3>.todo( [page:Vector3 todo] )</h3>
19-
<div>
20-
todo — todo<br />
21-
</div>
26+
<h3>.[page:Vector3 normal]</h3>
27+
28+
<h3>.[page:Array vertexNormals]</h3>
29+
30+
<h3>.[page:Color color]</h3>
31+
32+
<h3>.[page:Array vertexColors]</h3>
33+
34+
<h3>.[page:Array vertexTangets]</h3>
35+
36+
<h3>.[page:Number materialIndex]</h3>
37+
38+
<h3>.[page:Vector3 centroid]</h3>
2239

2340

2441
<h2>Source</h2>

0 commit comments

Comments
 (0)