浏览代码

Update Face3.html

Feilin 5 年之前
父节点
当前提交
639b180fe8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/zh/core/Face3.html

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

@@ -33,7 +33,7 @@ geometry.vertices.push( new THREE.Vector3(  50, -50, 0 ) );
 geometry.vertices.push( new THREE.Vector3(  50,  50, 0 ) );
 
 // 利用顶点 0, 1, 2 创建一个面
-var normal = new THREE.Vector3( 0, 1, 0 ); //optional
+var normal = new THREE.Vector3( 0, 0, 1 ); //optional
 var color = new THREE.Color( 0xffaa00 ); //optional
 var materialIndex = 0; //optional
 var face = new THREE.Face3( 0, 1, 2, normal, color, materialIndex );