diff --git a/light.hh b/light.hh new file mode 100644 index 0000000..7efa758 --- /dev/null +++ b/light.hh @@ -0,0 +1,20 @@ +#ifndef LIGHT_HH_INCLUDED +#define LIGHT_HH_INCLUDED + +#include "entity.hh" +#include + +//To distinguish various light types +enum LightType {POINT, AMBIENT}; + +class Light : Entity { + public: + Light(glm::vec3 positon, glm::vec3 rotation, glm::vec3 colour, float intensity); + ~Light(); + private: + float intensity; + glm::vec3 colour; + Type type; +}; + +#endif