Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2005, 10:01:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some more properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc

    r3930 r3931  
    2525*/
    2626ParticleEmitter::ParticleEmitter(const Vector& direction, float angle, float emissionRate,
    27                   float velocity, float ttl)
     27                  float velocity)
    2828{
    2929   this->setClassName ("ParticleEmitter");
     
    6161
    6262/**
    63    \brief set the angle of the emitter
    64    \param angle around the direction in which there are particles to be emitted
    65    \param random A random spread-angle, the +- randomness of this option
    66 
    67    if you want to change the value of this variable during emission time (to make it more dynamic)
    68    you may want to use the animation class
    69 */
    70 void ParticleEmitter::setSpread(float angle, float random)
    71 {}
    72 
    73 
    74 /**
    7563   \brief set the emission rate
    7664   \param sets the number of particles emitted per second
     
    8068   you may want to use the animation class
    8169*/
    82 void ParticleEmitter::setEmissionRate(float emissionRate, float random)
     70void ParticleEmitter::setEmissionRate(float emissionRate)
    8371{}
     72
     73/**
     74   \brief set the angle of the emitter
     75   \param angle around the direction in which there are particles to be emitted
     76   \param randomAngle A random spread-angle, the +- randomness of this option
     77
     78   if you want to change the value of this variable during emission time (to make it more dynamic)
     79   you may want to use the animation class
     80*/
     81void ParticleEmitter::setSpread(float angle, float randomAngle)
     82{}
     83
     84
    8485
    8586
     
    103104*/
    104105
    105 /**
    106    \brief this is called from the particle emitter to give the pulse of time...
    107    \param time passed since last tick
    108 */
    109 void ParticleEmitter::tick(float dt)
    110 {}
Note: See TracChangeset for help on using the changeset viewer.