15 Commits

Author SHA1 Message Date
Hannes Janetzek
af80759dae - add jni gl matrix utiles
- move Triangle jni to subdir
2013-10-09 01:55:56 +02:00
Hannes Janetzek
8bd4d8e4d9 fix Triangle debug output 2013-10-09 01:55:56 +02:00
Hannes Janetzek
51d2a845a0 print Triangle errors, instead of exiting 2013-10-09 01:55:55 +02:00
Hannes Janetzek
99dafda4b9 move TriangleJNI 2013-10-09 01:55:53 +02:00
Hannes Janetzek
3b47915baa use void pointers 2013-10-09 01:55:50 +02:00
Hannes Janetzek
5c36b204ce no timing required 2013-10-09 01:55:48 +02:00
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