Triangulating polygons using the Ear Clipping algorithm

Just to note: I rotated entire group of vertices.

1 Like

If you do that you change the cross product direction and the vector resulted will have the opposite way, so instead of detecting the angles less than 180 degrees will detect the angles with more than 180 degress as it is seen on the picture

1 Like

Sadly, in some rotational cases, this still don’t solve problems somewhy. (Tested - With 90° and -90°)

1 Like