Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.cc
- Timestamp:
- Jul 12, 2005, 12:33:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.cc
r4746 r4836 31 31 32 32 /** 33 \briefstandard constructor33 * standard constructor 34 34 */ 35 35 ParticleEmitter::ParticleEmitter(const Vector& direction, float angle, float emissionRate, … … 47 47 48 48 /** 49 \briefconstructs and loads a ParticleEmitter from a XML-element50 \param root the XML-element to load from49 * constructs and loads a ParticleEmitter from a XML-element 50 * @param root the XML-element to load from 51 51 */ 52 52 ParticleEmitter::ParticleEmitter(const TiXmlElement* root) … … 61 61 62 62 /** 63 \briefstandard destructor63 * standard destructor 64 64 65 65 removes the EmitterSystem from the ParticleEngine … … 87 87 88 88 /** 89 \briefloads a ParticleEmitter from a XML-element90 \param root the XML-element to load from89 * loads a ParticleEmitter from a XML-element 90 * @param root the XML-element to load from 91 91 */ 92 92 void ParticleEmitter::loadParams(const TiXmlElement* root) … … 120 120 121 121 /** 122 \briefthis start the emitter122 * this start the emitter 123 123 */ 124 124 void ParticleEmitter::start() {} … … 126 126 127 127 /** 128 \briefthis stops the emitter128 * this stops the emitter 129 129 */ 130 130 void ParticleEmitter::stop() {} … … 135 135 136 136 /** 137 \param type the new Type of this emitter137 * @param type the new Type of this emitter 138 138 */ 139 139 void ParticleEmitter::setType(EMITTER_TYPE type) … … 143 143 144 144 /** 145 \briefsets the type of emitter146 \param type the type as a const char*145 * sets the type of emitter 146 * @param type the type as a const char* 147 147 dot: EMITTER_DOT, plane: EMITTER_PLANE, cube: EMITTER_CUBE, sphere, EMITTER_SPHERE; 148 148 */ … … 172 172 173 173 /** 174 \briefsets a new size to the emitter174 * sets a new size to the emitter 175 175 */ 176 176 void ParticleEmitter::setSize(float emitterSize) … … 183 183 184 184 /** 185 \briefset the emission rate186 \param emissionRate: sets the number of particles emitted per second185 * set the emission rate 186 * @param emissionRate: sets the number of particles emitted per second 187 187 188 188 if you want to change the value of this variable during emission time (to make it more dynamic) … … 198 198 199 199 /** 200 \briefhow much of the speed from the ParticleEmitter should flow onto the ParticleSystem201 \param value a Value between zero and one200 * how much of the speed from the ParticleEmitter should flow onto the ParticleSystem 201 * @param value a Value between zero and one 202 202 203 203 if you want to change the value of this variable during emission time (to make it more dynamic) … … 215 215 216 216 /** 217 \briefset the angle of the emitter218 \param angle around the direction in which there are particles to be emitted219 \param randomAngle A random spread-angle, the +- randomness of this option217 * set the angle of the emitter 218 * @param angle around the direction in which there are particles to be emitted 219 * @param randomAngle A random spread-angle, the +- randomness of this option 220 220 221 221 if you want to change the value of this variable during emission time (to make it more dynamic) … … 229 229 230 230 /** 231 \briefsets the initial velocity of all particles emitted232 \param velocity The starting velocity of the emitted particles233 \param randomVelocity A random starting velocity, the +- randomness of this option231 * sets the initial velocity of all particles emitted 232 * @param velocity The starting velocity of the emitted particles 233 * @param randomVelocity A random starting velocity, the +- randomness of this option 234 234 235 235 if you want to change the value of this variable during emission time (to make it more dynamic) … … 243 243 244 244 /** 245 \briefsets the initial Momentum of all particles emitted246 \param momentum the new Momentum (just a float for being not too complicated).247 \param randomMomentum variation from the given value.245 * sets the initial Momentum of all particles emitted 246 * @param momentum the new Momentum (just a float for being not too complicated). 247 * @param randomMomentum variation from the given value. 248 248 */ 249 249 void ParticleEmitter::setEmissionMomentum(float momentum, float randomMomentum) … … 254 254 255 255 /** 256 \briefthis set the time to life of a particle, after which it will die257 \param dt: the time to live in seconds258 \param system: the system into which to emitt256 * this set the time to life of a particle, after which it will die 257 * @param dt: the time to live in seconds 258 * @param system: the system into which to emitt 259 259 260 260 if you want to change the value of this variable during emission time (to make it more dynamic) … … 308 308 309 309 /** 310 \briefoutputs some nice debug information310 * outputs some nice debug information 311 311 */ 312 312 void ParticleEmitter::debug() const
Note: See TracChangeset
for help on using the changeset viewer.