Convert polygon to triangles [closed]

心已入冬 提交于 2019-11-30 08:52:10

Ear clipping is by far the best way to do this.

It is fully robust for both convex and concave polygons and runs in O(n^2) time

Implement Chazelle's method. Triangulation in linear time! What's not to like? :)

More realistically, poly2tri.

GLU tesselators provide a flexible way to do this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!