Saxum/light.hh

24 lines
579 B
C++
Raw Normal View History

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:
Light(glm::vec3 position, glm::vec3 colour, float intensity, float flameYOffset = 0.0f, float flameHeight = 0.0f, float flameWidth = 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;
float flameHeight;
float flameWidth;
2014-10-20 17:08:51 +00:00
float intensity;
glm::vec3 colour;
};
#endif