diff options
author | Stijn Buys <ingar@osirion.org> | 2015-02-28 20:46:53 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-02-28 20:46:53 +0000 |
commit | cffe02f49b66a70d40816ffc8dea42f9e52da57f (patch) | |
tree | 110471c23944d09899d4cacb3cdd40508f359f72 /src/render/particlesystem.h | |
parent | 26c8cf4d74062fb12871ae9d5298d8ceaab7a2cf (diff) |
Reimplemented camera handling enabling 360-degree freelook.
Diffstat (limited to 'src/render/particlesystem.h')
-rw-r--r-- | src/render/particlesystem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/particlesystem.h b/src/render/particlesystem.h index 974806f..7675021 100644 --- a/src/render/particlesystem.h +++ b/src/render/particlesystem.h @@ -11,6 +11,7 @@ #include "core/entity.h" +#include "render/camera.h" #include "render/particlesystemscript.h" #include "render/particleejector.h" @@ -30,7 +31,7 @@ public: ParticleSystem(const ParticleSystemScript *script, const core::Entity *entity, const model::Particles *modelclass); ~ParticleSystem(); - void draw(const float seconds); + void draw(const float seconds, const Camera &camera); /** * @brief clear all particles from all ejectors |