namespace Msp {
namespace GL {
+class DirectionalLight;
class Light;
/**
ShadowMap(unsigned, unsigned, Renderable &, const Lighting *, Renderable &);
public:
- ShadowMap(unsigned, Renderable &, const Light &, Renderable &);
+ ShadowMap(unsigned, Renderable &, const DirectionalLight &, Renderable &);
ShadowMap(unsigned, unsigned, Renderable &, const Lighting &, Renderable &);
- void add_light(const Light &, unsigned);
+ void add_light(const DirectionalLight &, unsigned);
/** Sets the ShadowMap target point and radius. The transformation matrix is
computed so that a sphere with the specified parameters will be completely