From 99f4f20c7569a005de5ac5dab296d615a42b01f0 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Wed, 13 Dec 2017 18:32:16 -0800 Subject: [PATCH] remove deprecated BasicShadowRenderer from TestFancyCar --- .../src/main/java/jme3test/bullet/TestFancyCar.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java b/jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java index ca64536de..d628d4616 100644 --- a/jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java +++ b/jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java @@ -51,7 +51,6 @@ import com.jme3.renderer.queue.RenderQueue.ShadowMode; import com.jme3.scene.Geometry; import com.jme3.scene.Node; import com.jme3.scene.Spatial; -import com.jme3.shadow.BasicShadowRenderer; import com.jme3.system.AppSettings; public class TestFancyCar extends SimpleApplication implements ActionListener { @@ -90,11 +89,6 @@ public class TestFancyCar extends SimpleApplication implements ActionListener { bulletAppState = new BulletAppState(); stateManager.attach(bulletAppState); // bulletAppState.getPhysicsSpace().enableDebug(assetManager); - if (settings.getRenderer().startsWith("LWJGL")) { - BasicShadowRenderer bsr = new BasicShadowRenderer(assetManager, 512); - bsr.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal()); - // viewPort.addProcessor(bsr); - } cam.setFrustumFar(150f); flyCam.setMoveSpeed(10);