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>2015-02-01 22:18:19 +0000
committerStijn Buys <ingar@osirion.org>2015-02-01 22:18:19 +0000
commit924c366a6ae1747f8cd75403d9028a1a07fe8bb3 (patch)
treedba50e426d5b901cf254edc3a2cb1db8d67e6700 /src/model/tags.h
parent6898ad148be30c3c9ec7912ef914a085438ce206 (diff)
Corrected a bug where submodel tags where not rotated according to the submodel axis.
Diffstat (limited to 'src/model/tags.h')
-rw-r--r--src/model/tags.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/model/tags.h b/src/model/tags.h
index 775dc73..7e4a9de 100644
--- a/src/model/tags.h
+++ b/src/model/tags.h
@@ -376,6 +376,11 @@ public:
{
flare_cull = cull;
}
+
+ inline void set_axis(const math::Axis& axis)
+ {
+ flare_axis.assign(axis);
+ }
/* ---- actors --------------------------------------------- */
@@ -521,6 +526,11 @@ public:
particles_has_color = true;
}
+ inline void set_axis(const math::Axis& axis)
+ {
+ particles_axis.assign(axis);
+ }
+
/* ---- actors --------------------------------------------- */
/**