44 Commits

Author SHA1 Message Date
Gustl22
777d33a4de
Gradle: remove redundant resources (#660) 2019-02-19 11:15:43 +02:00
Emux
a67b2f2c91
Gradle 4 / Android plugin 3 transitive dependencies, fix #433 2018-01-02 14:46:39 +02:00
Emux
cbdeb58c2f Gradle 4 and Android plugin 3, fix #433 2017-10-29 18:52:55 +02:00
Emux
43ca550832 Improve code / xml formatting, #54 2016-07-12 19:53:47 +03:00
Emux
d6a65ff731 Normalize all the line endings 2016-07-04 20:58:33 +03:00
Emux
eca77a0afc Gradle build refactoring, closes #46 2016-07-03 20:43:32 +03:00
Hannes Janetzek
20afbfe230 use new Tessellator for Mesh- and ExtrusionLayer 2014-09-20 01:31:06 +02:00
Hannes Janetzek
7db70f239f jni: new Tesselator 2014-09-20 01:31:06 +02:00
Hannes Janetzek
59ab24da90 jni: add GLMatrix proj2d/3d 2014-09-20 01:07:03 +02:00
Hannes Janetzek
d96e9c4070 jni project settings 2014-05-24 14:27:55 +02:00
Hannes Janetzek
10e186780c jni stuff 2014-05-16 17:55:45 +02:00
Hannes Janetzek
1c4979bdaa add vtm-gdx-ios 2014-03-04 20:12:46 +01:00
Hannes Janetzek
96b5b09501 update JNI build instructions 2014-01-17 01:41:20 +01:00
Hannes Janetzek
3630155ad0 move vtm/jni to separate c project 2013-12-03 20:10:56 +01:00
Hannes Janetzek
83cd73156a split up 2013-10-09 01:56:08 +02:00
Hannes Janetzek
10425ff232 start to extract android dependency 2013-10-09 01:56:07 +02:00
Hannes Janetzek
dce0507d36 testing 'tessellate' jni 2013-10-09 01:56:06 +02:00
Hannes Janetzek
e09d638bc5 Triangle: slightly improve point-in-hole heuristic 2013-10-09 01:56:05 +02:00
Hannes Janetzek
46c7c34bb2 Triangle: mark second occurrence of duplicate vertices as UNDEAD
so that they are ignored by skeleton builder
2013-10-09 01:56:03 +02:00
Hannes Janetzek
c4d0c4af57 fix Matrix functions to use temporary array when lhs or rhs are same as result 2013-10-09 01:56:03 +02:00
Hannes Janetzek
2ff67d078d move renderer.layer to renderer.sublayers and renderer.overlays to renderer.layers 2013-10-09 01:56:02 +02:00
Hannes Janetzek
3d79c3ea2e Triangle: no need to shift vertices, just update segment indices to first occurence 2013-10-09 01:55:59 +02:00
Hannes Janetzek
2ae5a7fe2e cleanups 2013-10-09 01:55:59 +02:00
Hannes Janetzek
f9be7f1cd8 rename libtriangle-jni.so -> libtriangle.so 2013-10-09 01:55:57 +02:00
Hannes Janetzek
2538ed8eb7 start splitting up Triangle
removing non-library build and pre-ansi declarations
2013-10-09 01:55:57 +02:00
Hannes Janetzek
22441bf527 avoid copy - pin coordinate buffer for triangulation 2013-10-09 01:55:57 +02:00
Hannes Janetzek
f2bbc51558 no need to commit array 2013-10-09 01:55:57 +02:00
Hannes Janetzek
3e6ac7d5d4 add and use utility to set Int color as uniform 2013-10-09 01:55:56 +02:00
Hannes Janetzek
f262efee7f Use native Matrix4 instead of float[16] 2013-10-09 01:55:56 +02:00
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