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.cc | |
parent | 9caf289046ed2639f1935fb1c87133af4f7f6cac (diff) |
adds 'cull' option to fx_flare and fx_particles
Diffstat (limited to 'src/render/particles.cc')
-rw-r--r-- | src/render/particles.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/particles.cc b/src/render/particles.cc index 07a8dc1..ef6886a 100644 --- a/src/render/particles.cc +++ b/src/render/particles.cc @@ -183,6 +183,7 @@ ParticleSystem::ParticleSystem(ParticleScript *script, core::Entity *entity, mod particlesystem_script = script; particlesystem_texture = 0; + particlesystem_cull = model::CullNone; particlesystem_modelclass = modelclass; @@ -207,6 +208,7 @@ ParticleSystem::ParticleSystem(ParticleScript *script, core::Entity *entity, mod color.assign(entity->model()->enginecolor()); } particlesystem_axis.assign(modelclass->axis()); +// particlesystem_cull = particlesystem_modelclass->cull(); } } |