I was trying to draw a map using filled path but on the Initialize() method I got IndexOutOfRangeException on "_triPrev" variable on for() loop because "count" goes much higher than the array. The map's vectors are not broken since I can still draw its path using Lines. I tried messing with the values but I don't get all the math behind the code.