cleanup
This commit is contained in:
parent
d64988a56a
commit
8aab183d1a
@ -17,9 +17,6 @@ package org.oscim.renderer;
|
||||
import android.opengl.GLES20;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* @author Hannes Janetzek
|
||||
*/
|
||||
public class GLState {
|
||||
private final static String TAG = GLState.class.getName();
|
||||
|
||||
|
||||
@ -111,9 +111,6 @@ public final class LineRenderer {
|
||||
public static Layer draw(Layers layers, Layer curLayer, MapPosition pos,
|
||||
float[] matrix, float div, int mode) {
|
||||
|
||||
int zoom = pos.zoomLevel;
|
||||
float scale = pos.scale;
|
||||
|
||||
if (curLayer == null)
|
||||
return null;
|
||||
|
||||
@ -133,6 +130,9 @@ public final class LineRenderer {
|
||||
|
||||
glUniformMatrix4fv(hLineMatrix[mode], 1, false, matrix, 0);
|
||||
|
||||
int zoom = pos.zoomLevel;
|
||||
float scale = pos.scale;
|
||||
|
||||
// Line scale factor for non fixed lines: Within a zoom-
|
||||
// level lines would be scaled by the factor 2 by view-matrix.
|
||||
// Though lines should only scale by sqrt(2). This is achieved
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012, 2013 OpenScienceMap
|
||||
* Copyright 2012, 2013 Hannes Janetzek
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General License as published by the Free Software
|
||||
@ -21,8 +21,6 @@ import org.oscim.renderer.layer.TextItem;
|
||||
/**
|
||||
* Extends Tile class for concurrent use in TileManager,
|
||||
* TileGenerator and GLRenderer threads.
|
||||
*
|
||||
* @author Hannes Janetzek
|
||||
*/
|
||||
public final class MapTile extends JobTile {
|
||||
|
||||
|
||||
@ -229,10 +229,6 @@ public final class Line extends RenderInstruction {
|
||||
this.fade = fade;
|
||||
this.stipple = stipple;
|
||||
this.min = min;
|
||||
|
||||
if (stipple != 0){
|
||||
System.out.println("a");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user