Optimising THREE.Shape.Utils.removeHoles

This commit is contained in:
Nicholas Kinsey
2011-09-24 15:45:39 +10:00
parent 40161dda38
commit 4b144ff31b
+1 -1
View File
@@ -138,7 +138,7 @@ THREE.Shape.Utils = {
holes.push( hole );
*/
allpoints = allpoints.concat( hole );
Array.prototype.push.apply( allpoints, hole );
shortest = Number.POSITIVE_INFINITY;