From e530cf9ad6a88fd594b62692e884080795b029cd Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sun, 14 Jul 2013 09:27:13 +0000 Subject: [PATCH] Removes the use of the deprecated Box contructor with the mesh origin in HelloJME3. also updated the wiki git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10716 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/helloworld/HelloJME3.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/test/jme3test/helloworld/HelloJME3.java b/engine/src/test/jme3test/helloworld/HelloJME3.java index f634af8a7..9ffc1931d 100644 --- a/engine/src/test/jme3test/helloworld/HelloJME3.java +++ b/engine/src/test/jme3test/helloworld/HelloJME3.java @@ -51,7 +51,7 @@ public class HelloJME3 extends SimpleApplication { @Override public void simpleInitApp() { - Box b = new Box(Vector3f.ZERO, 1, 1, 1); // create cube shape at the origin + Box b = new Box(1, 1, 1); // create cube shape Geometry geom = new Geometry("Box", b); // create cube geometry from the shape Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); // create a simple material