From 4cf27ea09b2e8981bb0f224bcd15c871368cff63 Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Fri, 5 Jun 2020 20:11:00 +0800 Subject: [PATCH] Core: CLean up. --- src/core/Geometry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/Geometry.js b/src/core/Geometry.js index d83b5c586a0899..71b12256451c02 100644 --- a/src/core/Geometry.js +++ b/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 ),