|
|
il y a 3 ans | |
|---|---|---|
| .. | ||
| .gitignore | il y a 3 ans | |
| CMakeLists.txt | il y a 3 ans | |
| LICENSE | il y a 3 ans | |
| README.md | il y a 3 ans | |
| dict-list.h | il y a 3 ans | |
| dict.c | il y a 3 ans | |
| dict.h | il y a 3 ans | |
| geom.c | il y a 3 ans | |
| geom.h | il y a 3 ans | |
| glu.h | il y a 3 ans | |
| gluos.h | il y a 3 ans | |
| main.c | il y a 3 ans | |
| memalloc.c | il y a 3 ans | |
| memalloc.h | il y a 3 ans | |
| mesh.c | il y a 3 ans | |
| mesh.h | il y a 3 ans | |
| normal.c | il y a 3 ans | |
| normal.h | il y a 3 ans | |
| priorityq-heap.c | il y a 3 ans | |
| priorityq-heap.h | il y a 3 ans | |
| priorityq-sort.h | il y a 3 ans | |
| priorityq.c | il y a 3 ans | |
| priorityq.h | il y a 3 ans | |
| render.c | il y a 3 ans | |
| render.h | il y a 3 ans | |
| sweep.c | il y a 3 ans | |
| sweep.h | il y a 3 ans | |
| tess.c | il y a 3 ans | |
| tess.h | il y a 3 ans | |
| tessellate.c | il y a 3 ans | |
| tessellate.h | il y a 3 ans | |
| tessellate.pro | il y a 3 ans | |
| tessmono.c | il y a 3 ans | |
| tessmono.h | il y a 3 ans | |
Polygon tessellation is a major pain in the neck. Have you ever tried writing fast and robust code for it? libtess is, to my knowledge, the only GPL-compatible, liberally-licensed, high-quality polygon triangulator out there.
This repository includes a self-contained function (tessellate, in tessellate.c) that you can call to triangulate a polygon that is potentially self-intersecting, with holes, or with duplicate vertices. Simple examples of calling the tessellate function directly are located in main.c.