Skip to content

Fix infinite loop in triangulator#18

Open
sk-zk wants to merge 1 commit intojaquadro:masterfrom
sk-zk:triangulator-fix
Open

Fix infinite loop in triangulator#18
sk-zk wants to merge 1 commit intojaquadro:masterfrom
sk-zk:triangulator-fix

Conversation

@sk-zk
Copy link

@sk-zk sk-zk commented May 20, 2020

Adds an exit condition if no ears can be made for two consecutive iterations. This prevents the triangulator from going into an infinite loop for certain inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant