X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Flight.cpp;h=e910411f276e27ebd305f507513177787caebb25;hp=8104e8969b1baf373b8bd64097dcc1bda72c27f5;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=a40fc85277dba5c34402a0e703d038efd30cc57b diff --git a/source/light.cpp b/source/light.cpp index 8104e896..e910411f 100644 --- a/source/light.cpp +++ b/source/light.cpp @@ -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::from_degrees(c)); -} - void Light::set_spot_cutoff(const Geometry::Angle &c) { if(c::zero() || (c>Geometry::Angle::right() && c!=Geometry::Angle::straight()))