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.h
parent43927cc52bdd7e44d62b0e6309612558f565b70f (diff)
strobe light radius bugfix
Diffstat (limited to 'src/model/tags.h')
-rw-r--r--src/model/tags.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/model/tags.h b/src/model/tags.h
index 0c97910..881b914 100644
--- a/src/model/tags.h
+++ b/src/model/tags.h
@@ -39,21 +39,23 @@ public:
/**
* @brief default constructor
*/
- inline Tag() : tag_location() {
- }
+ Tag();
/**
* @brief copy constructor
*/
- inline Tag(const Tag& other) : tag_location(other.location()) {
- }
+ Tag(const Tag& other);
/**
* @brief constructor with location
* @param location location of this part within the parent model
*/
- inline Tag(const math::Vector3f& location) : tag_location(location) {
- }
+ Tag(const math::Vector3f& location);
+
+ /**
+ * @brief default destructor
+ */
+ ~Tag();
/* ---- inspectors ----------------------------------------- */
@@ -208,7 +210,7 @@ public:
* @brief set the light on time, from 0.0 (always off) to 1.0 (always on)
*/
inline void set_time(const float time) {
- light_radius = time;
+ light_time = time;
}
/**