Minor fix in TestRenderToCubeMap

experimental
Nehon 10 years ago
parent 05baf56130
commit fea3faf9af
  1. 2
      jme3-examples/src/main/java/jme3test/post/TestRenderToCubemap.java

@ -97,7 +97,7 @@ public class TestRenderToCubemap extends SimpleApplication {
offView.setOutputFrameBuffer(offBuffer);
// setup framebuffer's scene
Box boxMesh = new Box(Vector3f.ZERO, 1,1,1);
Box boxMesh = new Box( 1,1,1);
Material material = assetManager.loadMaterial("Interface/Logo/Logo.j3m");
offBox = new Geometry("box", boxMesh);
offBox.setMaterial(material);

Loading…
Cancel
Save