1
0
linbingquan 5 жил өмнө
parent
commit
4cf27ea09b

+ 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 ),

粤ICP备19079148号