Selaa lähdekoodia

bugfix: CID was not reset

ncannasse 6 vuotta sitten
vanhempi
commit
142f9142a8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
 		{