Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-15 13:00:44 +0000
committerStijn Buys <ingar@osirion.org>2010-10-15 13:00:44 +0000
commit05b9767b65f76481ba6cb05a6115268149055cc8 (patch)
tree520040ea1b8c4d1b0e374ae1ccab9deaf9ffd21f /src/model/tags.cc
parent43927cc52bdd7e44d62b0e6309612558f565b70f (diff)
strobe light radius bugfix
Diffstat (limited to 'src/model/tags.cc')
-rw-r--r--src/model/tags.cc31
1 files changed, 26 insertions, 5 deletions
diff --git a/src/model/tags.cc b/src/model/tags.cc
index baf70a4..a47a16c 100644
--- a/src/model/tags.cc
+++ b/src/model/tags.cc
@@ -9,11 +9,29 @@
namespace model
{
+/* ---- class Tag -------------------------------------------------- */
+
+Tag::Tag() : tag_location()
+{
+}
+
+Tag::Tag(const Tag& other) : tag_location(other.location())
+{
+}
+
+Tag::Tag(const math::Vector3f& location) : tag_location(location)
+{
+}
+
+Tag::~Tag()
+{
+}
+
/* ---- class Light ------------------------------------------------ */
Light::Light() :
- Tag(),
- light_color(1.0f, 1.0f, 1.0f)
+ Tag(),
+ light_color(1.0f, 1.0f, 1.0f)
{
light_entity = false;
light_engine = false;
@@ -29,8 +47,9 @@ Light::Light() :
light_texture = 0;
}
-Light::Light(const Light& other) : Tag(other),
- light_color(other.color())
+Light::Light(const Light& other) :
+ Tag(other),
+ light_color(other.color())
{
light_entity = other.entity();
light_engine = other.engine();
@@ -45,8 +64,10 @@ Light::Light(const Light& other) : Tag(other),
light_texture = other.texture();
}
+
Light::~Light()
-{}
+{
+}
/* ---- class Flare ------------------------------------------------ */