Added emtpy constructor.
This commit is contained in:
parent
94b12ae614
commit
39b1ee85b0
3
light.cc
3
light.cc
@ -6,6 +6,9 @@ Light::Light(glm::vec3 position, glm::vec3 colour, float intensity)
|
|||||||
this->intensity = intensity;
|
this->intensity = intensity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Light::Light() {
|
||||||
|
}
|
||||||
|
|
||||||
Light::~Light() {
|
Light::~Light() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
light.hh
1
light.hh
@ -7,6 +7,7 @@
|
|||||||
class Light : public Entity {
|
class Light : public Entity {
|
||||||
public:
|
public:
|
||||||
Light(glm::vec3 position, glm::vec3 colour, float intensity);
|
Light(glm::vec3 position, glm::vec3 colour, float intensity);
|
||||||
|
Light();
|
||||||
glm::vec3 getColour();
|
glm::vec3 getColour();
|
||||||
float getIntensity();
|
float getIntensity();
|
||||||
~Light();
|
~Light();
|
||||||
|
Loading…
Reference in New Issue
Block a user