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

[bug] rgl:::triangulateSimple fails with 3 Points #388

Closed
discoleo opened this issue Sep 21, 2023 · 0 comments · Fixed by #390
Closed

[bug] rgl:::triangulateSimple fails with 3 Points #388

discoleo opened this issue Sep 21, 2023 · 0 comments · Fixed by #390

Comments

@discoleo
Copy link

rgl:::triangulateSimple fails with 3 Points

Note: polygon3d calls rgl:::triangulateSimple;

The variable good is defined only inside the while-loop:
while ((m <- length(verts)) > 3) {...}

But this while-loop is skipped for 3 points, generating an error.

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 a pull request may close this issue.

1 participant