cleanups + notes

This commit is contained in:
Hannes Janetzek 2013-02-27 16:28:59 +01:00
parent 716fbccf36
commit 67529446a4
2 changed files with 4 additions and 3 deletions

View File

@ -113,7 +113,7 @@ public class TextOverlayExp extends BasicOverlay {
@Override @Override
protected void doWork() { protected void doWork() {
SystemClock.sleep(150); SystemClock.sleep(500);
if (!mRun) if (!mRun)
return; return;
@ -192,7 +192,7 @@ public class TextOverlayExp extends BasicOverlay {
continue; continue;
} }
return 3; return 2;
} }
boolean intersect = ti.bbox.overlaps(lp.bbox); boolean intersect = ti.bbox.overlaps(lp.bbox);
@ -685,7 +685,6 @@ public class TextOverlayExp extends BasicOverlay {
if (layers.baseLayers != null) { if (layers.baseLayers != null) {
setMatrix(pos, m, true); setMatrix(pos, m, true);
//Matrix.multiplyMM(m.mvp, 0, m.proj, 0, m.mvp,0);
for (Layer l = layers.baseLayers; l != null;) { for (Layer l = layers.baseLayers; l != null;) {
if (l.type == Layer.POLYGON) { if (l.type == Layer.POLYGON) {
l = PolygonRenderer.draw(pos, l, m.mvp, true, false); l = PolygonRenderer.draw(pos, l, m.mvp, true, false);

View File

@ -362,4 +362,6 @@ public final class GeometryUtils {
return inside; return inside;
} }
// TODO compare with http://alienryderflex.com/polygon/
} }