22 lines
354 B
C++
22 lines
354 B
C++
#include "light.hh"
|
|
|
|
Light::Light(glm::vec3 position, glm::vec3 colour, float intensity)
|
|
: Entity(position, glm::vec3(0.0f, 0.0f, 0.0f)) {
|
|
this->colour = colour;
|
|
this->intensity = intensity;
|
|
}
|
|
|
|
Light::Light() {
|
|
}
|
|
|
|
Light::~Light() {
|
|
}
|
|
|
|
glm::vec3 Light::getColour() {
|
|
return colour;
|
|
}
|
|
|
|
float Light::getIntensity() {
|
|
return intensity;
|
|
}
|