From 615e91856feadf470f43dd99df5f79ac43df3a04 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sat, 9 Mar 2013 12:29:42 +0100 Subject: [PATCH] MULTIPLIER > SCALE --- src/org/oscim/utils/GlUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/oscim/utils/GlUtils.java b/src/org/oscim/utils/GlUtils.java index 29165828..3d7fff7b 100644 --- a/src/org/oscim/utils/GlUtils.java +++ b/src/org/oscim/utils/GlUtils.java @@ -289,7 +289,7 @@ public class GlUtils { public static void setTileMatrix(float[] matrix, float tx, float ty, float s) { System.arraycopy(mIdentity, 0, matrix, 0, 16); // scale tile relative to map scale - matrix[0] = matrix[5] = s / GLRenderer.COORD_MULTIPLIER; + matrix[0] = matrix[5] = s / GLRenderer.COORD_SCALE; // translate relative to map center matrix[12] = tx * s; matrix[13] = ty * s;