spot_exp = e;
}
-void Light::set_spot_cutoff(float c)
-{
- set_spot_cutoff(Geometry::Angle<float>::from_degrees(c));
-}
-
void Light::set_spot_cutoff(const Geometry::Angle<float> &c)
{
if(c<Geometry::Angle<float>::zero() || (c>Geometry::Angle<float>::right() && c!=Geometry::Angle<float>::straight()))