瀏覽代碼

Cube.js: Forgot to uncomment mergeVertices.

Mr.doob 14 年之前
父節點
當前提交
9f668deab5
共有 2 個文件被更改,包括 84 次插入84 次删除
  1. 83 83
      build/ThreeExtras.js
  2. 1 1
      src/extras/primitives/Cube.js

文件差異過大導致無法顯示
+ 83 - 83
build/ThreeExtras.js


+ 1 - 1
src/extras/primitives/Cube.js

@@ -60,7 +60,7 @@ var Cube = function ( width, height, depth, segments_width, segments_height, mat
 	this.sides.pz && buildPlane( 'x', 'y',   1 * flip, - 1, width, height, depth_half, this.materials[ 4 ] );   // pz
 	this.sides.nz && buildPlane( 'x', 'y', - 1 * flip, - 1, width, height, - depth_half, this.materials[ 5 ] ); // nz
 
-	// mergeVertices();
+	mergeVertices();
 
 	function buildPlane( u, v, udir, vdir, width, height, depth, material ) {
 

部分文件因文件數量過多而無法顯示