A simple implementation of the earcut polygon triangulation algorithm, based on this blog post and the mapbox implementation.
No validation is performed on input data for maximal simplicity.
This crate is no_std compatible, but requires the alloc
crate to be available.