]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/light.cpp
Remove collection-less constructor overloads from most loaders
[libs/gl.git] / source / materials / light.cpp
index e8cbbaac9990551c10fbcf729fa5e4e174b83704..7c78b393fc32431b43904ed1dcdd14409446bb94 100644 (file)
@@ -1,7 +1,6 @@
 #include <stdexcept>
 #include <msp/strings/format.h>
 #include "light.h"
-#include "matrix.h"
 #include "programdata.h"
 
 using namespace std;
@@ -130,10 +129,6 @@ Light::Loader::Loader(Light &l):
        add("spot_direction", &Loader::spot_direction);
        add("spot_exponent", &Loader::spot_exponent);
        add("spot_cutoff", &Loader::spot_cutoff);
-
-       // Deprecated
-       add("diffuse", &Loader::color);
-       add("specular");
 }
 
 void Light::Loader::attenuation(float c, float l, float q)