Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing code in triangulate()? no longer deleting last three vertices #10

Open
nosarious opened this issue Nov 4, 2016 · 0 comments
Open

Comments

@nosarious
Copy link

nosarious commented Nov 4, 2016

While trying to troubleshoot a problem, I downloaded your code again instead of using my modified stuff, and it wouldn't work, but in a different way.

comparing older files, I noticed the following lines are missing from the end of your code:

//erase the last three triangles
vertices.erase(vertices.end()-1);
vertices.erase(vertices.end()-1);
vertices.erase(vertices.end()-1);

these would go right before the 'return ntri' and caused all sorts of errors and almost made me cry.

I feel these lines are kinda-sorta important...?

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

No branches or pull requests

1 participant