瀏覽代碼

Update docs/api/core/Face3.html

Testing editing via GitHub interface
AlteredQualia 13 年之前
父節點
當前提交
e3c5a26500
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/api/core/Face3.html

+ 3 - 1
docs/api/core/Face3.html

@@ -16,7 +16,9 @@
 
 		<h2>Example</h2>
 
-		<code>var face = new THREE.Face3( 0, 1, 2, new THREE.Vector3( 0, 1, 0 ), new THREE.Color( 0xffaa00 ), 0 );</code>
+		<code>var normal = new THREE.Vector3( 0, 1, 0 );
+		var color = new THREE.Color( 0xffaa00 );
+		var face = new THREE.Face3( 0, 1, 2, normal, color, 0 );</code>
 
 
 		<h2>Constructor</h2>