Move axis align to primitives
Use a real triangulation library (poly2tri)