* Fix use of deprecated Box constructor in TestBox
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
44a77537ce
commit
5e6b9a3746
@ -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…
x
Reference in New Issue
Block a user