Skip to content

Commit

Permalink
Merge pull request #19565 from linbingquan/dev-cleanup-core
Browse files Browse the repository at this point in the history
Core: CLean up.
  • Loading branch information
mrdoob authored Jun 5, 2020
2 parents 4d875bb + 4cf27ea commit a7cac76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
Expand Down

0 comments on commit a7cac76

Please sign in to comment.