Set z scale to 0 in orthoMatrix as it was before

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent 4fbaecc5db
commit 8e5832f975
  1. 2
      engine/src/core/com/jme3/renderer/RenderManager.java

@ -618,7 +618,7 @@ public class RenderManager {
orthoMatrix.loadIdentity();
orthoMatrix.setTranslation(translateX, translateY, 0);
orthoMatrix.setScale(scaleX, scaleY, 1);
orthoMatrix.setScale(scaleX, scaleY, 0);
//orthoMatrix.loadIdentity();
//orthoMatrix.setTranslation(-1f, -1f, 0f);

Loading…
Cancel
Save