Scale factor for short vertices improvements, fix #537

This commit is contained in:
Emux
2018-05-11 13:14:43 +03:00
parent 34023cdc95
commit 12cb34146c
4 changed files with 23 additions and 34 deletions

View File

@@ -68,6 +68,11 @@ public abstract class GdxMap implements ApplicationListener {
@Override
public void create() {
if (!Parameters.CUSTOM_COORD_SCALE) {
if (Math.min(Gdx.graphics.getDisplayMode().width, Gdx.graphics.getDisplayMode().height) > 1080)
MapRenderer.COORD_SCALE = 4.0f;
}
mMap = new MapAdapter();
mMapRenderer = new MapRenderer(mMap);