Changeset 3944 in orxonox.OLD for orxonox/branches/particleEngine/src/story_entities
- Timestamp:
- Apr 23, 2005, 2:48:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r3942 r3944 166 166 AnimationPlayer::getInstance()->debug(); 167 167 delete AnimationPlayer::getInstance(); // this should be at the end of the unloading sequence. 168 168 169 ParticleEngine::getInstance()->debug(); 169 170 delete ParticleEngine::getInstance(); 170 171 … … 379 380 ParticleEmitter* testEmitter,* testEmitter2; 380 381 ParticleSystem* testSystem; 381 testEmitter = new ParticleEmitter(Vector(-1,0,0), M_PI_2, 120 0.0, .5);382 testEmitter = new ParticleEmitter(Vector(-1,0,0), M_PI_2, 120.0, .5); 382 383 testEmitter->setParent(localPlayer); 383 384 testEmitter->setRelCoor(Vector(-3, 0, 0)); 384 385 testSystem = new ParticleSystem(100000); 385 testEmitter->setName("ship emitter"); 386 testEmitter2 = new ParticleEmitter(Vector(1,0,0), .1, 120.0, 1); 387 testEmitter2->setParent(tn); 388 testEmitter2->setName("crap emitter"); 389 390 testSystem = new ParticleSystem(1000); 386 391 testSystem->setLifeSpan(1, .8); 387 392 testSystem->setRadius(1.0, 0.0, .5); 388 393 testSystem->setConserve(.8); 389 394 testSystem->setInheritSpeed(1); 390 395 testSystem->setName("system"); 391 396 ParticleEngine::getInstance()->addConnection(testEmitter, testSystem); 397 ParticleEngine::getInstance()->addConnection(testEmitter2, testSystem); 398 ParticleEngine::getInstance()->debug(); 392 399 393 400 break;
Note: See TracChangeset
for help on using the changeset viewer.