summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/creepingarmor
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-07-15 14:43:32 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2015-07-15 14:43:32 +0200
commitaa97fd609205ddbfe0420241b099865b91d37f20 (patch)
tree2767e057ed73592cfcc5b7b3e40e4ce1942fd3cc /core/src/ch/asynk/creepingarmor
parent74d07dcc3a17d1613956a5df21f069365c27f230 (diff)
downloadRustAndDust-aa97fd609205ddbfe0420241b099865b91d37f20.zip
RustAndDust-aa97fd609205ddbfe0420241b099865b91d37f20.tar.gz
Camera: remove useless call to matrix.set(combined)
Diffstat (limited to 'core/src/ch/asynk/creepingarmor')
-rw-r--r--core/src/ch/asynk/creepingarmor/screens/GameCamera.java1
-rw-r--r--core/src/ch/asynk/creepingarmor/screens/MenuCamera.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/src/ch/asynk/creepingarmor/screens/GameCamera.java b/core/src/ch/asynk/creepingarmor/screens/GameCamera.java
index 475ac1f..53896bb 100644
--- a/core/src/ch/asynk/creepingarmor/screens/GameCamera.java
+++ b/core/src/ch/asynk/creepingarmor/screens/GameCamera.java
@@ -77,7 +77,6 @@ public class GameCamera extends OrthographicCamera
clampPosition();
update(true);
- hudMatrix.set(combined);
hudMatrix.setToOrtho2D(getHudLeft(), getHudBottom(), getHudWidth(), getHudHeight());
hudInvProjMatrix.set(hudMatrix);
Matrix4.inv(hudInvProjMatrix.val);
diff --git a/core/src/ch/asynk/creepingarmor/screens/MenuCamera.java b/core/src/ch/asynk/creepingarmor/screens/MenuCamera.java
index 40b09d4..4bd05b3 100644
--- a/core/src/ch/asynk/creepingarmor/screens/MenuCamera.java
+++ b/core/src/ch/asynk/creepingarmor/screens/MenuCamera.java
@@ -59,7 +59,6 @@ public class MenuCamera extends OrthographicCamera
update(true);
- uiMatrix.set(combined);
uiMatrix.setToOrtho2D(getHudLeft(), getHudBottom(), getHudWidth(), getHudHeight());
uiInvProjMatrix.set(uiMatrix);
Matrix4.inv(uiInvProjMatrix.val);