Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate a fan triangulation for convex polygons
The ear clipping method is correct for all polygons, but slow. For convex polygons a fan triangulation is much quicker. Most polygons will be convex. For an example dataset this sped up triangulation on my machine from around 6 seconds to 1 second.
- Loading branch information