This commit is contained in:
Hannes Janetzek
2013-03-16 20:55:21 +01:00
parent b0c02e0c56
commit f440920a4b
5 changed files with 35 additions and 62 deletions

View File

@@ -162,12 +162,6 @@ public final class LineLayer extends Layer {
ux = -vy;
uy = vx;
if (opos == VertexPoolItem.SIZE) {
si = si.next = VertexPool.get();
v = si.vertices;
opos = 0;
}
int ddx, ddy;
// vertex point coordinate

View File

@@ -30,7 +30,7 @@ public final class TextLayer extends TextureLayer {
private final static int LBIT_MASK = 0xfffffffe;
private static int mFontPadX = 1;
private static int mFontPadY = 1;
//private static int mFontPadY = 1;
public TextItem labels;
private final Canvas mCanvas;

View File

@@ -55,7 +55,7 @@ import android.opengl.GLES20;
import android.os.SystemClock;
public class TextOverlay extends BasicOverlay {
private final static String TAG = TextOverlay.class.getName();
//private final static String TAG = TextOverlay.class.getName();
private final MapViewPosition mMapViewPosition;
private TileSet mTileSet;
@@ -247,9 +247,8 @@ public class TextOverlay extends BasicOverlay {
private final static float[] mDebugPoints = new float[4];
//private final Matrix4 mMVP = new Matrix4();
void addTile(MapTile t) {
}
//void addTile(MapTile t) {
//}
private Label addToPool(Label l) {
TextItem.release(l.item);