Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2005, 4:53:05 PM (20 years ago)
Author:
patrick
Message:

orxonox/branches/particle/system: implemented a ParticleEmitter constructormake

File:
1 edited

Legend:

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

    r3926 r3928  
    2424   \brief standard constructor
    2525*/
    26 ParticleEmitter::ParticleEmitter ()
     26ParticleEmitter::ParticleEmitter(const Vector& direction, float angle, float emissionRate,
     27                  float velocity, float ttl)
    2728{
    2829   this->setClassName ("ParticleEmitter");
     30   this->direction = direction;
     31   this->angle = angle;
     32   this->emissionRate = emissionRate;
     33   this->velocity = velocity;
     34   this->ttl = ttl;
    2935}
    3036
Note: See TracChangeset for help on using the changeset viewer.