Map renderer COORD_SCALE configurable and global use (#344)

This commit is contained in:
Longri
2017-03-29 13:21:18 +02:00
committed by Emux
parent 7a28788972
commit c580e1d7a5
15 changed files with 64 additions and 60 deletions

View File

@@ -33,6 +33,7 @@ import org.oscim.utils.FastMath;
import java.nio.FloatBuffer;
import static org.oscim.backend.GLAdapter.gl;
import static org.oscim.renderer.MapRenderer.COORD_SCALE;
public class HexagonRenderTest extends GdxMap {
@@ -66,7 +67,7 @@ public class HexagonRenderTest extends GdxMap {
private BufferObject mVBO;
int mZoom = -1;
float mCellScale = 60 * MapRenderer.COORD_SCALE;
float mCellScale = 60 * COORD_SCALE;
@Override
public void update(GLViewport v) {