Saxum/light.hh

19 lines
367 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>
//To distinguish various light types
2014-10-31 09:38:06 +00:00
class Light : public Entity {
2014-10-20 17:08:51 +00:00
public:
2014-10-30 22:32:21 +00:00
Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity);
2014-10-20 17:08:51 +00:00
~Light();
private:
float intensity;
glm::vec3 colour;
};
#endif