2014-10-20 17:08:51 +00:00
|
|
|
#ifndef LIGHT_HH_INCLUDED
|
|
|
|
#define LIGHT_HH_INCLUDED
|
|
|
|
|
|
|
|
#include "entity.hh"
|
|
|
|
#include <ACGL/Math/Math.hh>
|
|
|
|
|
2014-10-31 09:38:06 +00:00
|
|
|
class Light : public Entity {
|
2014-10-20 17:08:51 +00:00
|
|
|
public:
|
2015-02-24 13:04:56 +00:00
|
|
|
Light(glm::vec3 position, glm::vec3 colour, float intensity, float flameYOffset = 0.0f);
|
2014-11-17 16:50:06 +00:00
|
|
|
Light();
|
2014-11-03 22:28:06 +00:00
|
|
|
glm::vec3 getColour();
|
|
|
|
float getIntensity();
|
2015-02-24 13:04:56 +00:00
|
|
|
float getFlameYOffset();
|
2014-10-20 17:08:51 +00:00
|
|
|
~Light();
|
|
|
|
private:
|
2015-02-24 13:04:56 +00:00
|
|
|
float flameYOffset;
|
2014-10-20 17:08:51 +00:00
|
|
|
float intensity;
|
|
|
|
glm::vec3 colour;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|