]> git.tdb.fi Git - libs/gl.git/blobdiff - source/light.cpp
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / light.cpp
index 8104e8969b1baf373b8bd64097dcc1bda72c27f5..e910411f276e27ebd305f507513177787caebb25 100644 (file)
@@ -83,11 +83,6 @@ void Light::set_spot_exponent(float e)
        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()))