diff options
author | Stijn Buys <ingar@osirion.org> | 2013-01-21 18:37:59 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-01-21 18:37:59 +0000 |
commit | 266d0d2cf6648509650bdd490c8e9c64be75b92e (patch) | |
tree | df5fdb640ed09edcf044efdc8784b18a5881a513 /src/render/particleejector.h | |
parent | d4f9da2f3c19511b028da2569d7b6a8d1371e135 (diff) |
Added attached property to draw particle systems in entity space instead of world space,
corrected several bugs in the initial particle system implementation,
added impulse key to have particle systems react on impulse drive.
Diffstat (limited to 'src/render/particleejector.h')
-rw-r--r-- | src/render/particleejector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/particleejector.h b/src/render/particleejector.h index f626f26..9e090d9 100644 --- a/src/render/particleejector.h +++ b/src/render/particleejector.h @@ -66,7 +66,7 @@ protected: return ejector_particles; } - virtual void draw(const math::Vector3f & ps_location); + virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis); private: unsigned long ejector_last_eject; @@ -83,7 +83,7 @@ public: virtual ~ParticleEjectorSpray(); protected: - virtual void draw(const math::Vector3f & ps_location); + virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis); }; /** @@ -95,7 +95,7 @@ public: virtual ~ParticleEjectorTrail(); protected: - virtual void draw(const math::Vector3f & ps_location); + virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis); }; } // namespace render |