Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3927 in orxonox.OLD for orxonox/branches/particleEngine/src


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

orxonox/trunk/graphics/make

File:
1 edited

Legend:

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

    r3926 r3927  
    1818
    1919 public:
    20   ParticleEmitter(void);
     20  ParticleEmitter(const Vector& direction, float angle = 20.0, float emissionRate = 1.0,
     21                  float velocity = 1.0, float ttl = 1.0);
    2122  virtual ~ParticleEmitter(void);
     23
     24  void start();
     25  void stop();
    2226
    2327  void tick(float dt);
     
    2630  Vector direction;     //!< emition direction
    2731  float angle;          //!< max angle from the direction of the emitter
     32  float emissionRate;   //!< amount of particles per seconds emitted by emiter
     33  float velocity;       //!< the contant speed a particle gets if been emitted
     34  float timeToLive;     //!< this is the global time to live (ttl) definition
    2835
    29   float emissionRate;   //!< amount of particles per seconds emitted by emiter
    30  
    31   float velocity;       //!< the contant speed a particle gets if been emitted
    32   float minVel, maxVel; //!< the minimal and maximal velocity a particle has
    33 
    34   float timeToLive;     //!< this is the global time to live (ttl) definition
    35   float minTTL, maxTTL  //!<
    3636};
    3737
Note: See TracChangeset for help on using the changeset viewer.