diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-03 15:40:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-03 15:40:59 +0200 |
commit | 785471d3e46ff7f8143b19f13dee4f0bc072e721 (patch) | |
tree | 615f1ba087d993c7b7ac0eba7a7ffbbb2c349569 /core/src | |
parent | 589938042a1a77babf3f23482e03275949ea789a (diff) | |
download | gdx-boardgame-785471d3e46ff7f8143b19f13dee4f0bc072e721.zip gdx-boardgame-785471d3e46ff7f8143b19f13dee4f0bc072e721.tar.gz |
Camera : applyMapViewport() -> applyBoardViewport()
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/gdx/tabletop/Camera.java | 4 |
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() |