- remove updateModelBounds() call from BasicGame template
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7173 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
9ef10e5ac7
commit
07f9cf0d23
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user