diff options
Diffstat (limited to 'src/model/tags.cc')
-rw-r--r-- | src/model/tags.cc | 31 |
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 ------------------------------------------------ */ |