diff options
author | Stijn Buys <ingar@osirion.org> | 2015-02-01 22:18:19 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-02-01 22:18:19 +0000 |
commit | 924c366a6ae1747f8cd75403d9028a1a07fe8bb3 (patch) | |
tree | dba50e426d5b901cf254edc3a2cb1db8d67e6700 /src/model/tags.h | |
parent | 6898ad148be30c3c9ec7912ef914a085438ce206 (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.h | 10 |
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 --------------------------------------------- */ /** |