Changeset 6620 in orxonox.OLD for trunk/src/lib/particles/particle_emitter.cc
- Timestamp:
- Jan 19, 2006, 6:31:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_emitter.cc
r6619 r6620 268 268 you may want to use the animation class 269 269 */ 270 void ParticleEmitter::tick(float dt, ParticleSystem* system) 271 { 270 void ParticleEmitter::tick(float dt) 271 { 272 assert (this->system != NULL); 272 273 if (likely(dt > 0.0 && this->emissionRate > 0.0)) 273 274 { … … 308 309 Quaternion moment = Quaternion(this->momentum + this->momentumRandom, randDir); 309 310 310 system->addParticle(this->getAbsCoor() + extension - equalSpread, velocityV, orient, moment);311 this->system->addParticle(this->getAbsCoor() + extension - equalSpread, velocityV, orient, moment); 311 312 } 312 313 }
Note: See TracChangeset
for help on using the changeset viewer.