Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert internal logic to fileprivate functions and keep the API surface to three static accessors (`Earcut.flatten`, `Earcut.tesselate` and `Earcut.deviation`) There was no need to keep an Earcut instance around and this could actually cause issues due to the internal `NodeAllocator`. So now we just instantiate an allocator per `tesselate` call.
- Loading branch information