fix to TestConeVSFrustrum which was buried in commit 83aef82

v3.2
Stephen Gold 6 years ago
parent af7a209b69
commit 97a26c4355
  1. 2
      jme3-examples/src/main/java/jme3test/light/TestConeVSFrustum.java

@ -102,7 +102,7 @@ public class TestConeVSFrustum extends SimpleApplication {
float radius = FastMath.tan(spotLight.getSpotOuterAngle()) * spotLight.getSpotRange();
Cylinder cylinder = new Cylinder(5, 16, 0, radius, spotLight.getSpotRange(), true, false);
Cylinder cylinder = new Cylinder(5, 16, 0.01f, radius, spotLight.getSpotRange(), true, false);
geom = new Geometry("light", cylinder);
geom.setMaterial(new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"));
geom.getMaterial().setColor("Diffuse", ColorRGBA.White);

Loading…
Cancel
Save