cleanups
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user