• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..13-Nov-2021-

MakefileH A D13-Nov-2021468 75

README.mdH A D13-Nov-2021768 1914

dict-list.hH A D13-Nov-20212 KiB6943

dict.cH A D13-Nov-20211.7 KiB8759

dict.hH A D13-Nov-20212 KiB6943

geom.cH A D13-Nov-20217.8 KiB293183

geom.hH A D13-Nov-20211.7 KiB5029

glu.hH A D13-Nov-202114.6 KiB349277

gluos.hH A D13-Nov-20211.5 KiB8758

main.cH A D13-Nov-20211.3 KiB5040

memalloc.cH A D13-Nov-2021353 2617

memalloc.hH A D13-Nov-2021413 2614

mesh.cH A D13-Nov-202122.1 KiB817527

mesh.hH A D13-Nov-202110.3 KiB24170

normal.cH A D13-Nov-20216.8 KiB264203

normal.hH A D13-Nov-2021279 175

priorityq-heap.cH A D13-Nov-20215.4 KiB243195

priorityq-heap.hH A D13-Nov-20212.5 KiB8543

priorityq-sort.hH A D13-Nov-20212.6 KiB8946

priorityq.cH A D13-Nov-20216.4 KiB278217

priorityq.hH A D13-Nov-20212.6 KiB8946

render.cH A D13-Nov-202115.6 KiB544373

render.hH A D13-Nov-2021607 247

sweep.cH A D13-Nov-202149.6 KiB1,469894

sweep.hH A D13-Nov-20211.8 KiB4918

tess.cH A D13-Nov-202117.5 KiB629493

tess.hH A D13-Nov-20215.4 KiB14494

tessellate.cH A D13-Nov-20216.6 KiB253220

tessellate.hH A D13-Nov-2021237 108

tessmono.cH A D13-Nov-20216 KiB188104

tessmono.hH A D13-Nov-20211.6 KiB427

README.md

1# A minimal, self-contained port of SGI's GLU libtess
2
3Polygon tessellation is a major pain in the neck. Have you ever tried
4writing fast and robust code for it? libtess is, to my knowledge, the
5only GPL-compatible, liberally-licensed, high-quality polygon
6triangulator out there.
7
8This repository includes a self-contained function (tessellate, in
9tessellate.c) that you can call to triangulate a polygon that is
10potentially self-intersecting, with holes, or with duplicate
11vertices. Simple examples of calling the tessellate function directly
12are located in main.c.
13
14More interestingly, this repository also includes an
15Emscripten-compiled module, _tessellate.js, and a Javascript-friendly
16wrapper, in tessellate.js. Simple examples are available under
17index.html.
18
19