Przeglądaj źródła

bugfix: CID was not reset

ncannasse 6 lat temu
rodzic
commit
142f9142a8
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
 		{