|
@@ -23,7 +23,6 @@ public class Main extends SimpleApplication {
|
|
public void simpleInitApp() {
|
|
public void simpleInitApp() {
|
|
Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
|
Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
|
Geometry geom = new Geometry("Box", b);
|
|
Geometry geom = new Geometry("Box", b);
|
|
- geom.updateModelBound();
|
|
|
|
|
|
|
|
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
|
|
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
|
|
mat.setColor("Color", ColorRGBA.Blue);
|
|
mat.setColor("Color", ColorRGBA.Blue);
|