Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render/light.cc35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/render/light.cc b/src/render/light.cc
new file mode 100644
index 0000000..cc8453e
--- /dev/null
+++ b/src/render/light.cc
@@ -0,0 +1,35 @@
+/*
+ render/light.cc
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#include "render/light.h"
+
+namespace render
+{
+
+Light::Light() :
+ light_location(),
+ light_color(),
+ light_attenuation(1.0f, 0.0f, 0.0f)
+{
+
+}
+
+Light::Light(const math::Vector3f & location, const math::Color & color) :
+ light_location(location),
+ light_color(color),
+ light_attenuation(1.0f, 0.0f, 0.0f)
+{
+
+}
+
+Light::~Light()
+{
+}
+
+
+} // namespace render
+
+