From 0a18b365ea03f0fc413197e7dfefa74fb0126200 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Thu, 25 Aug 2011 00:16:34 +0000 Subject: [PATCH] - clean up blender test git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/blender/TestBlenderLoader.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/engine/src/test/jme3test/blender/TestBlenderLoader.java b/engine/src/test/jme3test/blender/TestBlenderLoader.java index be01d7ed9..e7688ad8c 100644 --- a/engine/src/test/jme3test/blender/TestBlenderLoader.java +++ b/engine/src/test/jme3test/blender/TestBlenderLoader.java @@ -41,11 +41,6 @@ import com.jme3.scene.Spatial; public class TestBlenderLoader extends SimpleApplication { - float angle; - PointLight pl; - Spatial lightMdl; - String assetName; - public static void main(String[] args){ TestBlenderLoader app = new TestBlenderLoader(); app.start(); @@ -55,7 +50,7 @@ public class TestBlenderLoader extends SimpleApplication { public void simpleInitApp() { viewPort.setBackgroundColor(ColorRGBA.DarkGray); - Spatial bumpy = (Spatial) assetManager.loadModel("Blender/2.4x/Sinbad.blend"); + Spatial bumpy = assetManager.loadModel("Blender/2.4x/Sinbad.blend"); rootNode.attachChild(bumpy); // sunset light @@ -73,7 +68,7 @@ public class TestBlenderLoader extends SimpleApplication { // white ambient light dl = new DirectionalLight(); dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal()); - dl.setColor(new ColorRGBA(0.50f, 0.40f, 0.50f, 1.0f)); + dl.setColor(new ColorRGBA(0.80f, 0.70f, 0.80f, 1.0f)); rootNode.addLight(dl); }