Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-13 19:29:54 +0000
committerStijn Buys <ingar@osirion.org>2009-01-13 19:29:54 +0000
commit5992c46fc62db1bdf038b5b7be0e94dd10183e77 (patch)
tree91b513b038a4e8c2590d02bc7aeea382f998bb43 /src/render/particles.h
parent9caf289046ed2639f1935fb1c87133af4f7f6cac (diff)
adds 'cull' option to fx_flare and fx_particles
Diffstat (limited to 'src/render/particles.h')
-rw-r--r--src/render/particles.h5
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 ------------------------------------------------ */