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

Self overlapping polygon #12

Open
crunchyfx opened this issue Feb 20, 2019 · 0 comments
Open

Self overlapping polygon #12

crunchyfx opened this issue Feb 20, 2019 · 0 comments

Comments

@crunchyfx
Copy link

Thank you for making this! Really helpful.
I'm using this with box2Dweb and I can get in situations where a polygon is self overlapping.

The decomp doesn't work with those. (Correct me if I'm wrong)
Do you know of a good solution for those cases?

To clarify, cases like these:
http://schteppe.github.io/poly-decomp.js/#path=577,609/625,593/631,645/604,602/581,557
http://schteppe.github.io/poly-decomp.js/#path=709,486/759,466/809,453/859,454/877,501/882,552/892,604/841,590/789,581/807,533/860,526/910,523/885,478/837,493/787,500/739,517
http://schteppe.github.io/poly-decomp.js/#path=883,326/935,325/990,323/1043,329/1046,379/1022,423/987,465/951,500/914,459/896,412/939,385/954,433/905,445/855,439/815,407

Thanks,
Jakob

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