2014-10-30 22:32:21 +00:00
|
|
|
#include "light.hh"
|
|
|
|
|
|
|
|
Light::Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity)
|
|
|
|
: Entity(position, rotation) {
|
|
|
|
this->colour = colour;
|
|
|
|
this->intensity = intensity;
|
|
|
|
}
|
|
|
|
|
|
|
|
Light::~Light() {
|
|
|
|
}
|
2014-11-03 22:28:06 +00:00
|
|
|
|
|
|
|
glm::vec3 Light::getColour() {
|
|
|
|
return colour;
|
|
|
|
}
|
|
|
|
|
|
|
|
float Light::getIntensity() {
|
|
|
|
return intensity;
|
|
|
|
}
|