summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/tabletop
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-10-03 15:40:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-10-03 15:40:59 +0200
commit785471d3e46ff7f8143b19f13dee4f0bc072e721 (patch)
tree615f1ba087d993c7b7ac0eba7a7ffbbb2c349569 /core/src/ch/asynk/gdx/tabletop
parent589938042a1a77babf3f23482e03275949ea789a (diff)
downloadgdx-boardgame-785471d3e46ff7f8143b19f13dee4f0bc072e721.zip
gdx-boardgame-785471d3e46ff7f8143b19f13dee4f0bc072e721.tar.gz
Camera : applyMapViewport() -> applyBoardViewport()
Diffstat (limited to 'core/src/ch/asynk/gdx/tabletop')
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Camera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/gdx/tabletop/Camera.java b/core/src/ch/asynk/gdx/tabletop/Camera.java
index 4f51375..bcee9e1 100644
--- a/core/src/ch/asynk/gdx/tabletop/Camera.java
+++ b/core/src/ch/asynk/gdx/tabletop/Camera.java
@@ -114,7 +114,7 @@ public class Camera extends OrthographicCamera
Matrix4.inv(hudInvProjMatrix.val);
}
- public void applyMapViewport()
+ public void applyBoardViewport()
{
HdpiUtils.glViewport((int)viewport.x, (int)viewport.y, (int)viewport.width, (int)viewport.height);
}
@@ -124,7 +124,7 @@ public class Camera extends OrthographicCamera
if (hudInBoard)
HdpiUtils.glViewport(0, 0, screenWidth, screenHeight);
else
- applyMapViewport();
+ applyBoardViewport();
}
public void centerOnWorld()