Added light.hh

This commit is contained in:
Faerbit 2014-10-20 19:08:51 +02:00
parent 5adc9ae0cc
commit 1ad0a13ce0

20
light.hh Normal file
View File

@ -0,0 +1,20 @@
#ifndef LIGHT_HH_INCLUDED
#define LIGHT_HH_INCLUDED
#include "entity.hh"
#include <ACGL/Math/Math.hh>
//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