gero3 8 年之前
父节点
当前提交
afa9e7009c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/geometries/ExtrudeGeometry.js

+ 3 - 3
src/geometries/ExtrudeGeometry.js

@@ -335,7 +335,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
 
 
 					}
 					}
 
 
-				} 	else {
+				} else {
 
 
 					if ( Math.sign( v_prev_y ) === Math.sign( v_next_y ) ) {
 					if ( Math.sign( v_prev_y ) === Math.sign( v_next_y ) ) {
 
 
@@ -490,7 +490,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
 
 
 				v( vert.x, vert.y, amount / steps * s );
 				v( vert.x, vert.y, amount / steps * s );
 
 
-			} 	else {
+			} else {
 
 
 				// v( vert.x, vert.y + extrudePts[ s - 1 ].y, extrudePts[ s - 1 ].x );
 				// v( vert.x, vert.y + extrudePts[ s - 1 ].y, extrudePts[ s - 1 ].x );
 
 
@@ -541,7 +541,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
 
 
 					v( vert.x, vert.y, amount + z );
 					v( vert.x, vert.y, amount + z );
 
 
-				} 		else {
+				} else {
 
 
 					v( vert.x, vert.y + extrudePts[ steps - 1 ].y, extrudePts[ steps - 1 ].x + z );
 					v( vert.x, vert.y + extrudePts[ steps - 1 ].y, extrudePts[ steps - 1 ].x + z );