diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-13 19:29:54 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-13 19:29:54 +0000 |
commit | 5992c46fc62db1bdf038b5b7be0e94dd10183e77 (patch) | |
tree | 91b513b038a4e8c2590d02bc7aeea382f998bb43 /src/render/particles.h | |
parent | 9caf289046ed2639f1935fb1c87133af4f7f6cac (diff) |
adds 'cull' option to fx_flare and fx_particles
Diffstat (limited to 'src/render/particles.h')
-rw-r--r-- | src/render/particles.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/particles.h b/src/render/particles.h index 096833c..a36b142 100644 --- a/src/render/particles.h +++ b/src/render/particles.h @@ -111,7 +111,9 @@ public: /// axis of the particle system within the entity inline const math::Axis &axis() const { return particlesystem_axis; } - + + inline const model::Cull cull() const { return particlesystem_cull; } + virtual void draw(float elapsed); void set_timeout(float timeout); @@ -146,6 +148,7 @@ protected: math::Color color; model::Particles *particlesystem_modelclass; + model::Cull particlesystem_cull; }; /* ---- class Flame ------------------------------------------------ */ |