diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-07-15 14:43:32 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-07-15 14:43:32 +0200 |
commit | aa97fd609205ddbfe0420241b099865b91d37f20 (patch) | |
tree | 2767e057ed73592cfcc5b7b3e40e4ce1942fd3cc /core/src | |
parent | 74d07dcc3a17d1613956a5df21f069365c27f230 (diff) | |
download | RustAndDust-aa97fd609205ddbfe0420241b099865b91d37f20.zip RustAndDust-aa97fd609205ddbfe0420241b099865b91d37f20.tar.gz |
Camera: remove useless call to matrix.set(combined)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/creepingarmor/screens/GameCamera.java | 1 | ||||
-rw-r--r-- | core/src/ch/asynk/creepingarmor/screens/MenuCamera.java | 1 |
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); |