From c576d47c15b3f1e2400a375bc77a32f9dcf4636c Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sun, 14 Jul 2013 09:30:24 +0000 Subject: [PATCH] Removes the use of the deprecated Box contructor with the mesh origin in HelloLoop. also updated the wiki git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/helloworld/HelloLoop.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/test/jme3test/helloworld/HelloLoop.java b/engine/src/test/jme3test/helloworld/HelloLoop.java index 9fdfa82bd..f154a05cf 100644 --- a/engine/src/test/jme3test/helloworld/HelloLoop.java +++ b/engine/src/test/jme3test/helloworld/HelloLoop.java @@ -35,7 +35,6 @@ package jme3test.helloworld; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; @@ -54,7 +53,7 @@ public class HelloLoop extends SimpleApplication { @Override public void simpleInitApp() { /** this blue box is our player character */ - Box b = new Box(Vector3f.ZERO, 1, 1, 1); + Box b = new Box(1, 1, 1); player = new Geometry("blue cube", b); Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");