ivanfratric / polypartition

Tiny Polygon Partitioning and Triangulation Library
MIT License
664 stars 118 forks source link

Use named enums and explicit std:: instead of "using namespace std" #46

Closed aaronfranke closed 3 years ago

aaronfranke commented 3 years ago

These changes increase the clarify of the API and make it harder to use it incorrectly (ex: you can't try to set an orientation of 2).

I also updated the README with newlines and to mention that holes must be explicitly marked, which closes #41.