]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
3D augmentation should work correctly (still contains some experimental constants...
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 20 Jan 2009 15:44:28 +0000 (15:44 +0000)
committerluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 20 Jan 2009 15:44:28 +0000 (15:44 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@8723 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/common/JmeSinglePassRenderingComponent.java

index fb9aff60b857785196d1e80514b6527ecb5d4ca1..54da729e5b907d4bfcb3ac1efac4fedb621a504e 100644 (file)
@@ -73,7 +73,7 @@ public class JmeSinglePassRenderingComponent extends JmeRenderingComponent {
     private boolean showNormals = false;\r
     private WireframeState ws = null;\r
     \r
-    private boolean projectionUpdated = false;\r
+    protected boolean projectionUpdated = false;\r
     \r
        public JmeSinglePassRenderingComponent() {\r
                \r
@@ -313,7 +313,7 @@ public class JmeSinglePassRenderingComponent extends JmeRenderingComponent {
                }\r
        }\r
        \r
-       private void updateProjection() {\r
+       protected void updateProjection() {\r
                switch (projectionPolicy) {\r
                case PERSPECTIVE_PROJECTION:\r
                        cam.setParallelProjection(false);\r