9 Commits

Author SHA1 Message Date
Hannes Janetzek
bdbe0c1527 handle explicitly closed polygons and those with touching inner/outer rings in one point. Bologna is a heavy case.. 2013-10-09 01:55:48 +02:00
Hannes Janetzek
41810529af fix: dont increment these pointers conditionally 2013-10-09 01:55:48 +02:00
Hannes Janetzek
3414915622 minus one useless iteration 2013-10-09 01:55:48 +02:00
Hannes Janetzek
7c2decdee4 Triangle does not like duplicate points in input: skip them
TODO fix polygon holes that touch outer ring in input..
2013-10-09 01:55:48 +02:00
Hannes Janetzek
d94f8e2af4 ignore polygons that require additional nodes in trigulation 2013-10-09 01:55:47 +02:00
Hannes Janetzek
2e7a827117 improve finding point inside holes 2013-10-09 01:52:20 +02:00
Hannes Janetzek
35923938db use glCullFace GL_FRONT to avoid having to flip triangles
triangle-jni: some loop optimizations
2013-10-09 01:52:20 +02:00
Hannes Janetzek
45b19d6a91 fix triangulation of complex polygons:
find coordinates inside hole non-convex holes
2013-10-09 01:52:20 +02:00
Hannes Janetzek
1887d753c8 add triangle jni source 2013-10-09 01:52:19 +02:00