fix to TestConeVSFrustrum which was buried in commit 83aef82

This commit is contained in:
Stephen Gold 2018-12-31 08:33:22 -08:00
parent af7a209b69
commit 97a26c4355

View File

@ -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);