A Scala port of mapbox/earcut
Ported with help of https://github.com/OndrejSpanel/ScalaFromJS
- branch untouched contains the result of the automated conversion
- branch master contains the version with manual fixes
To update to a newer earcut.js:
- use https://ondrejspanel.github.io/ScalaFromJS/ to convert the new JS
- replace the code in untouched
- merge the changes into master