* Fix use of deprecated Box constructor in TestBox

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
sha..RD 12 years ago
parent 44a77537ce
commit 5e6b9a3746
  1. 2
      engine/src/test/jme3test/model/shape/TestBox.java

@ -47,7 +47,7 @@ public class TestBox extends SimpleApplication {
@Override
public void simpleInitApp() {
Box b = new Box(Vector3f.ZERO, 1, 1, 1);
Box b = new Box(1, 1, 1);
Geometry geom = new Geometry("Box", b);
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg"));

Loading…
Cancel
Save