Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4296 in orxonox.OLD for orxonox/branches/physics/src/subprojects


Ignore:
Timestamp:
May 26, 2005, 12:34:39 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/physics: flush the work… i go now to the ETH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/subprojects/particles/framework.cc

    r4295 r4296  
    180180
    181181            break;
     182          case SDLK_i:
     183            ParticleEngine::getInstance()->debug();
     184            break;
    182185          case SDLK_a:
    183186            zoomTo /=2;
     
    264267    // Creating a Test Particle System
    265268  ParticleSystem* system = new ParticleSystem(100000, PARTICLE_SPRITE);
    266   system->setLifeSpan(1);
     269  system->setLifeSpan(5);
    267270  system->setConserve(.8);
    268271  system->setRadius(4, 3, 1, 2);
     
    270273
    271274  // Creating a Test Particle Emitter
    272   ParticleEmitter* emitter = new ParticleEmitter(Vector(-1, 0, 0), M_PI_4, 400, .5);
    273   emitter->setType(EMITTER_CUBE);
    274   emitter->setSize(20);
     275  ParticleEmitter* emitter = new ParticleEmitter(Vector(0 , 0, -1), 0, 100, 1);
     276  emitter->setType(EMITTER_DOT  );
     277  emitter->setSize(0);
    275278  emitter->setRelCoor(Vector(0,0,0));
    276279 
Note: See TracChangeset for help on using the changeset viewer.