Changeset 6630 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 20, 2006, 9:33:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r6629 r6630 260 260 void ParticleSystem::precache(unsigned int seconds, unsigned int ticksPerSecond) 261 261 { 262 263 std::list<ParticleEmitter*>::iterator emitter; 264 for (emitter = this->emitters.begin(); emitter != this->emitters.end(); emitter++) 265 (*emitter)->updateNode(.1), (*emitter)->updateNode(.1); 266 262 267 PRINTF(4)("Precaching %s::%s %d seconds %d timesPerSecond\n", this->getClassName(), this->getName(), seconds, ticksPerSecond); 263 268 this->debug(); … … 275 280 void ParticleSystem::tick(float dt) 276 281 { 282 printf("TICKED %f %d\n", dt, this->count); 277 283 Particle* tickPart = particles; // the particle to Tick 278 284 Particle* prevPart = NULL;
Note: See TracChangeset
for help on using the changeset viewer.