Changeset 11687 for OpenSceneGraph/trunk/include/osgParticle/Emitter
- Timestamp:
- 07/30/10 18:06:22 (19 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgParticle/Emitter (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgParticle/Emitter
r5328 r11687 28 28 { 29 29 30 /** An abstract base class for particle emitters.31 Descendant classes must override the <CODE>emit ()</CODE> method to generate new particles by30 /** An abstract base class for particle emitters. 31 Descendant classes must override the <CODE>emitParticles()</CODE> method to generate new particles by 32 32 calling the <CODE>ParticleSystem::createParticle()</CODE> method on the particle system associated 33 33 to the emitter. … … 64 64 inline void process(double dt); 65 65 66 virtual void emit (double dt) = 0;66 virtual void emitParticles(double dt) = 0; 67 67 68 68 bool _usedeftemp; … … 95 95 inline void Emitter::process(double dt) 96 96 { 97 emit (dt);97 emitParticles(dt); 98 98 } 99 99
