Skip to content

Commit

Permalink
Merge pull request #8 from lemnuf/master
Browse files Browse the repository at this point in the history
Array merge performance
  • Loading branch information
spite committed Jan 5, 2017
2 parents 6bca980 + 20c2773 commit 546ceba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/THREE.DecalGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {

if( vertices.length === 0 ) continue;

finalVertices = finalVertices.concat( vertices );
Array.prototype.push.apply(finalVertices, vertices);

}

Expand Down

0 comments on commit 546ceba

Please sign in to comment.