Explorar o código

Core: CLean up.

linbingquan %!s(int64=5) %!d(string=hai) anos
pai
achega
4cf27ea09b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/core/Geometry.js

+ 2 - 1
src/core/Geometry.js

@@ -221,7 +221,8 @@ Geometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 			const vertexColors = ( color === undefined ) ? [] : [
 			const vertexColors = ( color === undefined ) ? [] : [
 				scope.colors[ a ].clone(),
 				scope.colors[ a ].clone(),
 				scope.colors[ b ].clone(),
 				scope.colors[ b ].clone(),
-				scope.colors[ c ].clone() ];
+				scope.colors[ c ].clone()
+			];
 
 
 			const vertexNormals = ( normal === undefined ) ? [] : [
 			const vertexNormals = ( normal === undefined ) ? [] : [
 				new Vector3().fromBufferAttribute( normal, a ),
 				new Vector3().fromBufferAttribute( normal, a ),