Merge pull request from zzuegg/master

Fixes the initialisation of the default SpotLight
This commit is contained in:
Kirill Vainer 2015-05-22 11:15:45 -04:00
commit fb3a1902a8

@ -63,7 +63,7 @@ public class SpotLight extends Light {
protected float spotInnerAngle = FastMath.QUARTER_PI / 8;
protected float spotOuterAngle = FastMath.QUARTER_PI / 6;
protected float spotRange = 100;
protected float invSpotRange = 1 / 100;
protected float invSpotRange = 1f / 100;
protected float packedAngleCos=0;
protected float outerAngleCosSqr, outerAngleSinSqr;