Closed christophegithubtts closed 1 year ago
Also note that GLU tesselator outputs 7 triangles as expected
This is known behavior. Earcut cleans up colinear points while triangulating.
Duplicate of https://github.com/mapbox/earcut/issues/74 https://github.com/mapbox/earcut.hpp/issues/100
Hello I have noticed that earcut outputs only 6 triangles instead of 7 from the following polygon bug.txt
I have also tried to offset all coordinates to make them relative to the first point but that does not solve the issue. So i believe there is a bug which is quite surprising since the input polygon is very simple !
I hope someone can investigate this issue