From e36241e74b263dd253c2d3d07680cf9276165077 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sun, 14 Jul 2013 10:04:59 +0000 Subject: [PATCH] Removes the use of the deprecated Box contructor with the mesh origin in HelloPhysics. Also updated the wiki git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10720 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/helloworld/HelloPhysics.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/test/jme3test/helloworld/HelloPhysics.java b/engine/src/test/jme3test/helloworld/HelloPhysics.java index c8ace373a..f1355e03e 100644 --- a/engine/src/test/jme3test/helloworld/HelloPhysics.java +++ b/engine/src/test/jme3test/helloworld/HelloPhysics.java @@ -87,10 +87,10 @@ public class HelloPhysics extends SimpleApplication { sphere = new Sphere(32, 32, 0.4f, true, false); sphere.setTextureMode(TextureMode.Projected); /** Initialize the brick geometry */ - box = new Box(Vector3f.ZERO, brickLength, brickHeight, brickWidth); + box = new Box(brickLength, brickHeight, brickWidth); box.scaleTextureCoordinates(new Vector2f(1f, .5f)); /** Initialize the floor geometry */ - floor = new Box(Vector3f.ZERO, 10f, 0.1f, 5f); + floor = new Box(10f, 0.1f, 5f); floor.scaleTextureCoordinates(new Vector2f(3, 6)); }