(ParticleSystem) Moved controllers update to a function

Former-commit-id: 47586e675c202d871e3ea3561dc19781bdb264f3
This commit is contained in:
Lynix
2015-01-20 16:59:50 +01:00
parent ac25c4a041
commit bbfbec1aa3
2 changed files with 51 additions and 42 deletions

View File

@@ -33,6 +33,8 @@ class NAZARA_API NzParticleSystem : public NzSceneNode, NzUpdatable
void AddGenerator(NzParticleGenerator* generator);
void AddToRenderQueue(NzAbstractRenderQueue* renderQueue) const;
void ApplyControllers(NzParticleMapper& mapper, unsigned int particleCount, float elapsedTime, float& stepAccumulator);
void* CreateParticle();
void* CreateParticles(unsigned int count);