#include <stdexcept>
#include <msp/strings/format.h>
#include "light.h"
-#include "matrix.h"
-#include "misc.h"
#include "programdata.h"
using namespace std;
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)