rename Tile.TILE_SIZE to Tile.SIZE, while I'm at refactoring

This commit is contained in:
Hannes Janetzek
2013-04-07 15:59:57 +02:00
parent 8e01dce85e
commit 491e41becc
27 changed files with 80 additions and 80 deletions

View File

@@ -72,7 +72,7 @@ public class ExtrusionLayer extends Layer {
for (int i = 0; i < 4; i++)
mIndices[i] = mCurIndices[i] = VertexPool.get();
mClipper = new LineClipper(0, 0, Tile.TILE_SIZE, Tile.TILE_SIZE);
mClipper = new LineClipper(0, 0, Tile.SIZE, Tile.SIZE);
}
public void addBuildings(WayData way) {

View File

@@ -74,7 +74,7 @@ public final class LineLayer extends Layer {
float x, y, nextX, nextY;
float a, ux, uy, vx, vy, wx, wy;
int tmax = Tile.TILE_SIZE + 4;
int tmax = Tile.SIZE + 4;
int tmin = -4;
boolean rounded = false;

View File

@@ -33,7 +33,7 @@ public final class PolygonLayer extends Layer {
}
public void addPolygon(float[] points, short[] index) {
short center = (short) ((Tile.TILE_SIZE >> 1) * S);
short center = (short) ((Tile.SIZE >> 1) * S);
VertexPoolItem si = curItem;
short[] v = si.vertices;