From 266d0d2cf6648509650bdd490c8e9c64be75b92e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 21 Jan 2013 18:37:59 +0000 Subject: 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. --- src/render/particleejector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/particleejector.h') 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 -- cgit v1.2.3