Changeset 3927 in orxonox.OLD for orxonox/branches/particleEngine/src
- Timestamp:
- Apr 21, 2005, 4:50:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.h
r3926 r3927 18 18 19 19 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); 21 22 virtual ~ParticleEmitter(void); 23 24 void start(); 25 void stop(); 22 26 23 27 void tick(float dt); … … 26 30 Vector direction; //!< emition direction 27 31 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 28 35 29 float emissionRate; //!< amount of particles per seconds emitted by emiter30 31 float velocity; //!< the contant speed a particle gets if been emitted32 float minVel, maxVel; //!< the minimal and maximal velocity a particle has33 34 float timeToLive; //!< this is the global time to live (ttl) definition35 float minTTL, maxTTL //!<36 36 }; 37 37
Note: See TracChangeset
for help on using the changeset viewer.