MULTIPLIER > SCALE
This commit is contained in:
parent
2c48530ce1
commit
615e91856f
@ -289,7 +289,7 @@ public class GlUtils {
|
|||||||
public static void setTileMatrix(float[] matrix, float tx, float ty, float s) {
|
public static void setTileMatrix(float[] matrix, float tx, float ty, float s) {
|
||||||
System.arraycopy(mIdentity, 0, matrix, 0, 16);
|
System.arraycopy(mIdentity, 0, matrix, 0, 16);
|
||||||
// scale tile relative to map scale
|
// 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
|
// translate relative to map center
|
||||||
matrix[12] = tx * s;
|
matrix[12] = tx * s;
|
||||||
matrix[13] = ty * s;
|
matrix[13] = ty * s;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user