Browse Source

Merge pull request #19565 from linbingquan/dev-cleanup-core

Core: CLean up.
Mr.doob 5 years ago
parent
commit
a7cac76292
1 changed files with 2 additions and 1 deletions
  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 ) ? [] : [
 				scope.colors[ a ].clone(),
 				scope.colors[ b ].clone(),
-				scope.colors[ c ].clone() ];
+				scope.colors[ c ].clone()
+			];
 
 			const vertexNormals = ( normal === undefined ) ? [] : [
 				new Vector3().fromBufferAttribute( normal, a ),