ncannasse пре 6 година
родитељ
комит
142f9142a8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      hxd/poly2tri/VisiblePolygon.hx

+ 1 - 1
hxd/poly2tri/VisiblePolygon.hx

@@ -38,7 +38,7 @@ class VisiblePolygon
 		if (!this.triangulated) return null;
 
 		var vertices = new Array();
-		var ids = new Array();
+		var ids = new Map();
 
 		for (i in 0...sweepContext.points.length)
 		{