Changeset 3937 in orxonox.OLD for orxonox/branches/particleEngine/src/story_entities
- Timestamp:
- Apr 23, 2005, 4:01:07 AM (20 years ago)
- Location:
- orxonox/branches/particleEngine/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r3936 r3937 377 377 this->glmis->step(); 378 378 379 testEmitter = new ParticleEmitter(Vector(-1,0,0), .1, 12400.0, .5); 379 ParticleEmitter* testEmitter,* testEmitter2; 380 ParticleSystem* testSystem; 381 testEmitter = new ParticleEmitter(Vector(-1,0,0), .1, 1200.0, .5); 380 382 testEmitter->setParent(localPlayer); 381 383 testEmitter->setSpread(M_PI_4, .1); 384 testEmitter2 = new ParticleEmitter(Vector(-1,0,0), .1, 1200, .5); 385 testEmitter2->setParent(tn); 386 382 387 testSystem = new ParticleSystem(100000); 383 388 testSystem->setLifeSpan(3); … … 385 390 386 391 ParticleEngine::getInstance()->addConnection(testEmitter, testSystem); 392 ParticleEngine::getInstance()->addConnection(testEmitter2, testSystem); 387 393 388 394 break; -
orxonox/branches/particleEngine/src/story_entities/world.h
r3932 r3937 25 25 class GarbageCollector; 26 26 class Text; 27 28 class ParticleEmitter;29 class ParticleSystem;30 27 31 28 //! The game world Interface … … 112 109 Terrain* terrain; //!< The Terrain of the World. 113 110 114 ParticleSystem* testSystem;115 ParticleEmitter* testEmitter;116 117 111 GLuint objectList; //!< temporary: \todo this will be ereased soon 118 112 tList<WorldEntity>* entities; //!< A template List of all entities. Every moving thing should be included here, and world automatically updates them.
Note: See TracChangeset
for help on using the changeset viewer.