mapbox/earcut
The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
3 Releases
Latest: 9mo ago
v3.0.2Latest
Fix a rare edge case manifesting on polygons with a big number of points. #186
v3.0.1
📋 Changes
- Fix edge cases related to touching inner rings. #177
- Slightly improve performance. #177
v3.0.0
📋 Changes
- ⚠️ Breaking: publish `earcut` as a ES module, dropping support for CommonJS (use v2.2.4 if you need compatibility).
- ⚠️ Breaking: use modern ES syntax, dropping support for IE11 (you can still transpile on your end to keep support).
- ⚠️ Breaking: the legacy UMD browser bundle now exposes the main function as `earcut.default`.
