Changeset 4173 in orxonox.OLD for orxonox/branches/particleEngine/src/story_entities
- Timestamp:
- May 13, 2005, 9:04:50 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r4129 r4173 493 493 494 494 495 ParticleSystem* system = new ParticleSystem(1000 );496 system->setLifeSpan( 1);495 ParticleSystem* system = new ParticleSystem(1000, PARTICLE_SPARK); 496 system->setLifeSpan(.5); 497 497 system->setRadius(2, 0, 2, 0); 498 ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), 0, 1000, 0); 498 499 ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 1000, .05); 499 500 emitter->setParent(this->localPlayer); 500 501 … … 962 963 963 964 TextEngine::getInstance()->draw(); 964 particleEngine->draw( );965 particleEngine->draw((float)dt/1000.0); //!< \todo should be dts like in the Trunk; 965 966 966 967 lightMan->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes //
Note: See TracChangeset
for help on using the changeset viewer.