Changeset 3931 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc
- Timestamp:
- Apr 22, 2005, 10:01:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc
r3930 r3931 25 25 */ 26 26 ParticleEmitter::ParticleEmitter(const Vector& direction, float angle, float emissionRate, 27 float velocity , float ttl)27 float velocity) 28 28 { 29 29 this->setClassName ("ParticleEmitter"); … … 61 61 62 62 /** 63 \brief set the angle of the emitter64 \param angle around the direction in which there are particles to be emitted65 \param random A random spread-angle, the +- randomness of this option66 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 class69 */70 void ParticleEmitter::setSpread(float angle, float random)71 {}72 73 74 /**75 63 \brief set the emission rate 76 64 \param sets the number of particles emitted per second … … 80 68 you may want to use the animation class 81 69 */ 82 void ParticleEmitter::setEmissionRate(float emissionRate , float random)70 void ParticleEmitter::setEmissionRate(float emissionRate) 83 71 {} 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 */ 81 void ParticleEmitter::setSpread(float angle, float randomAngle) 82 {} 83 84 84 85 85 86 … … 103 104 */ 104 105 105 /**106 \brief this is called from the particle emitter to give the pulse of time...107 \param time passed since last tick108 */109 void ParticleEmitter::tick(float dt)110 {}
Note: See TracChangeset
for help on using the changeset viewer.