Ear-Clipping-Triangulation icon indicating copy to clipboard operation
Ear-Clipping-Triangulation copied to clipboard

Error triangulating mesh. Aborted with more than 4 polygon points

Open bartburkhardt opened this issue 3 years ago • 0 comments

I tried your code but it failed with an L shape like this

        points.Add(new Vector2(1, 0.25f));
        points.Add(new Vector2(1, 0));
        points.Add(new Vector2(0, 0));
        points.Add(new Vector2(0, 1));
        points.Add(new Vector2(0.25f, 1));
        points.Add(new Vector2(0.25f, 0.25f));
        points.Add(new Vector2(1, 0.25f));

bartburkhardt avatar Jun 02 '22 17:06 bartburkhardt