소스 검색

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
rem..om 12 년 전
부모
커밋
c576d47c15
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      engine/src/test/jme3test/helloworld/HelloLoop.java

+ 1 - 2
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");