Jelajahi Sumber

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
rem..om 14 tahun lalu
induk
melakukan
8e5832f975
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      engine/src/core/com/jme3/renderer/RenderManager.java

+ 1 - 1
engine/src/core/com/jme3/renderer/RenderManager.java

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