Saxum/light.hh

21 lines
411 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
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