Changeset 3938 in orxonox.OLD for orxonox/branches/particleEngine/src/story_entities/world.cc
- Timestamp:
- Apr 23, 2005, 4:48:57 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r3937 r3938 379 379 ParticleEmitter* testEmitter,* testEmitter2; 380 380 ParticleSystem* testSystem; 381 testEmitter = new ParticleEmitter(Vector(-1,0,0), .1, 1200.0, .5);381 testEmitter = new ParticleEmitter(Vector(-1,0,0), M_PI_2, 1200.0, 1); 382 382 testEmitter->setParent(localPlayer); 383 testEmitter->setSpread(M_PI_4, .1); 384 testEmitter2 = new ParticleEmitter(Vector(-1,0,0), .1, 1200, .5); 383 testEmitter2 = new ParticleEmitter(Vector(-1,0,0), .1, 1200, 1); 385 384 testEmitter2->setParent(tn); 386 385 … … 388 387 testSystem->setLifeSpan(3); 389 388 testSystem->setConserve(.8); 389 testSystem->setInheritSpeed(1); 390 390 391 391 ParticleEngine::getInstance()->addConnection(testEmitter, testSystem);
Note: See TracChangeset
for help on using the changeset viewer.