mapbox / earcut.hpp

Fast, header-only polygon triangulation
ISC License
858 stars 133 forks source link

Fix a ton of robustness issues #76

Closed mourner closed 5 years ago

mourner commented 5 years ago

Ports a bunch of fixes from the JS version, making the C++ one reflect v2.2.0. Includes:

The tests pass on CI, pending a config fix for one Travis job.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.5%) to 98.008% when pulling 583d2240ad22c00d8a1b205574111a328bb015d8 on fix-robustness into 6e4db47a55b9446bb277f11814bfd49037b2a1cd on master.