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