Explorar o código

jme3-examples: delete references to non-existent "enableDebug" method

Stephen Gold %!s(int64=4) %!d(string=hai) anos
pai
achega
e1a8ce1421

+ 0 - 1
jme3-examples/src/main/java/jme3test/batching/TestBatchNodeTower.java

@@ -106,7 +106,6 @@ public class TestBatchNodeTower extends SimpleApplication {
 
         brick = new Box(brickWidth, brickHeight, brickDepth);
         brick.scaleTextureCoordinates(new Vector2f(1f, .5f));
-        //bulletAppState.getPhysicsSpace().enableDebug(assetManager);
         initMaterial();
         initTower();
         initFloor();

+ 0 - 1
jme3-examples/src/main/java/jme3test/bullet/TestBrickTower.java

@@ -124,7 +124,6 @@ public class TestBrickTower extends SimpleApplication {
 
         brick = new Box(brickWidth, brickHeight, brickDepth);
         brick.scaleTextureCoordinates(new Vector2f(1f, .5f));
-        //bulletAppState.getPhysicsSpace().enableDebug(assetManager);
         initMaterial();
         initTower();
         initFloor();

+ 0 - 1
jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java

@@ -84,7 +84,6 @@ public class TestFancyCar extends SimpleApplication implements ActionListener {
     public void simpleInitApp() {
         bulletAppState = new BulletAppState();
         stateManager.attach(bulletAppState);
-//        bulletAppState.getPhysicsSpace().enableDebug(assetManager);
         cam.setFrustumFar(150f);
         flyCam.setMoveSpeed(10);
 

+ 0 - 1
jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java

@@ -114,7 +114,6 @@ public class TestHoveringTank extends SimpleApplication implements AnalogListene
         bulletAppState = new BulletAppState();
         bulletAppState.setThreadingType(BulletAppState.ThreadingType.PARALLEL);
         stateManager.attach(bulletAppState);
-//        bulletAppState.getPhysicsSpace().enableDebug(assetManager);
         bulletAppState.getPhysicsSpace().setAccuracy(1f/30f);
         rootNode.attachChild(SkyFactory.createSky(assetManager, 
                 "Textures/Sky/Bright/BrightSky.dds", EnvMapType.CubeMap));

+ 0 - 1
jme3-examples/src/main/java/jme3test/helloworld/HelloCollision.java

@@ -79,7 +79,6 @@ public class HelloCollision extends SimpleApplication
     /** Set up Physics */
     bulletAppState = new BulletAppState();
     stateManager.attach(bulletAppState);
-    //bulletAppState.getPhysicsSpace().enableDebug(assetManager);
 
     // We re-use the flyby camera for rotation, while positioning is handled by physics
     viewPort.setBackgroundColor(new ColorRGBA(0.7f, 0.8f, 1f, 1f));

+ 0 - 1
jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java

@@ -99,7 +99,6 @@ public class HelloPhysics extends SimpleApplication {
     /** Set up Physics Game */
     bulletAppState = new BulletAppState();
     stateManager.attach(bulletAppState);
-    //bulletAppState.getPhysicsSpace().enableDebug(assetManager);
     /** Configure cam to look at scene */
     cam.setLocation(new Vector3f(0, 4f, 6f));
     cam.lookAt(new Vector3f(2, 2, 0), Vector3f.UNIT_Y);

+ 0 - 1
jme3-examples/src/main/java/jme3test/helloworld/HelloTerrainCollision.java

@@ -81,7 +81,6 @@ public class HelloTerrainCollision extends SimpleApplication
     /** Set up Physics */
     bulletAppState = new BulletAppState();
     stateManager.attach(bulletAppState);
-    //bulletAppState.getPhysicsSpace().enableDebug(assetManager);
     
     flyCam.setMoveSpeed(100);
     setUpKeys();