From e3c8be4d0e4c65bf5da9befae69bf54c80bc043f Mon Sep 17 00:00:00 2001 From: Fabian Klemp Date: Mon, 17 Nov 2014 17:50:06 +0100 Subject: [PATCH] Added emtpy constructor. --- light.cc | 3 +++ light.hh | 1 + 2 files changed, 4 insertions(+) diff --git a/light.cc b/light.cc index 5eba957..c93572b 100644 --- a/light.cc +++ b/light.cc @@ -6,6 +6,9 @@ Light::Light(glm::vec3 position, glm::vec3 colour, float intensity) this->intensity = intensity; } +Light::Light() { +} + Light::~Light() { } diff --git a/light.hh b/light.hh index 540e5d9..46bb546 100644 --- a/light.hh +++ b/light.hh @@ -7,6 +7,7 @@ class Light : public Entity { public: Light(glm::vec3 position, glm::vec3 colour, float intensity); + Light(); glm::vec3 getColour(); float getIntensity(); ~Light();