diff --git a/src/org/oscim/renderer/GLState.java b/src/org/oscim/renderer/GLState.java index f5b4f0f6..ec931200 100644 --- a/src/org/oscim/renderer/GLState.java +++ b/src/org/oscim/renderer/GLState.java @@ -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(); diff --git a/src/org/oscim/renderer/LineRenderer.java b/src/org/oscim/renderer/LineRenderer.java index c002525a..da4a9051 100644 --- a/src/org/oscim/renderer/LineRenderer.java +++ b/src/org/oscim/renderer/LineRenderer.java @@ -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 diff --git a/src/org/oscim/renderer/MapTile.java b/src/org/oscim/renderer/MapTile.java index 49ee4e4f..59e308a0 100644 --- a/src/org/oscim/renderer/MapTile.java +++ b/src/org/oscim/renderer/MapTile.java @@ -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 { diff --git a/src/org/oscim/theme/renderinstruction/Line.java b/src/org/oscim/theme/renderinstruction/Line.java index 8b989578..255fa80f 100644 --- a/src/org/oscim/theme/renderinstruction/Line.java +++ b/src/org/oscim/theme/renderinstruction/Line.java @@ -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"); - } }