/* -*- C++ -*- * fakeshadowsdirectionallight.h * $Id: fakeshadowsdirectionallight.h,v 1.2 2000/07/21 22:31:43 ghali Exp $ */ #ifndef FAKESHADOWSDIRECTIONALLIGHT_H #define FAKESHADOWSDIRECTIONALLIGHT_H #include <iostream.h> #include <GL/glut.h> #include "../geom/point3d.h" #include "../other/color.h" #include "activedirectionallight.h" namespace MSG { class FakeShadowsDirectionalLight : public ActiveDirectionalLight { public: FakeShadowsDirectionalLight(const Point3d& _position, const Color& _ambient = Color::defaultAmbientLight, const Color& _diffuse = Color::defaultDiffuseLight, const Color& _specular = Color::defaultSpecularLight); // shadow is implicitely on the y=0 plane virtual void render(std::vector<ActiveLight*>* &activelights, std::vector<TransformGroup*> transforms); virtual void performShadowTransf(); friend ostream& operator<<( ostream& out, const FakeShadowsDirectionalLight& directionallight ); }; } #endif