From 5992c46fc62db1bdf038b5b7be0e94dd10183e77 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 13 Jan 2009 19:29:54 +0000 Subject: adds 'cull' option to fx_flare and fx_particles --- src/render/particles.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/render/particles.h') 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 ------------------------------------------------ */ -- cgit v1.2.3