Search for conflicts

This commit is contained in:
Erica Fischer
2023-10-23 13:16:28 -07:00
parent f33a6a7f25
commit 307d917dd0
4 changed files with 9 additions and 4 deletions
-3
View File
@@ -263,11 +263,8 @@ void Earcut<N>::earcutLinked(Node* ear, int pass) {
Node* prev;
Node* next;
int iterations = 0;
// iterate through ears, slicing them one by one
while (ear->prev != ear->next) {
iterations++;
prev = ear->prev;
next = ear->next;