浏览代码

Updated modules.

Mr.doob 4 年之前
父节点
当前提交
df9c96e346
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/jsm/utils/BufferGeometryUtils.js

+ 3 - 3
examples/jsm/utils/BufferGeometryUtils.js

@@ -6,7 +6,8 @@ import {
 	InterleavedBufferAttribute,
 	TriangleFanDrawMode,
 	TriangleStripDrawMode,
-	TrianglesDrawMode
+	TrianglesDrawMode,
+	Vector3
 } from '../../../build/three.module.js';
 
 var BufferGeometryUtils = {
@@ -596,7 +597,6 @@ var BufferGeometryUtils = {
 						newIndices.push( index.getX( i + 1 ) );
 						newIndices.push( index.getX( i + 2 ) );
 
-
 					} else {
 
 						newIndices.push( index.getX( i + 2 ) );
@@ -630,7 +630,7 @@ var BufferGeometryUtils = {
 
 		}
 
-	}
+	},
 
 	/**
 	 * Calculates the morphed attributes of a morphed/skinned BufferGeometry.