rename Tile.TILE_SIZE to Tile.SIZE, while I'm at refactoring
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user