Changeset 4493 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.h
- Timestamp:
- Jun 3, 2005, 2:10:47 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.h
r4478 r4493 40 40 void setSize(float emitterSize); 41 41 void setEmissionRate(float emissionRate); 42 void setInheritSpeed(float value); 42 43 void setSpread(float angle, float randomAngle = 0.0); 43 44 void setEmissionVelocity(float velocity, float randomVelocity = 0.0); … … 49 50 /** \returns the emissionRate */ 50 51 inline float getEmissionRate(void) const { return this->emissionRate; }; 52 /** \returns the inherit-speed-factor */ 53 inline float getInheritSpeed(void) const { return this->inheritSpeed; }; 51 54 /** \returns the SpreadAngle of the emitter */ 52 55 inline float getSpread(void) { return this->angle; }; … … 60 63 EMITTER_TYPE type; //!< The type of emitter this is 61 64 float emitterSize; //!< The size of the emitter (not for EMITTER_DOT) 65 float inheritSpeed; //!< How much speed the particle inherits from the Emitters speed \todo move this to the emitter 62 66 Vector direction; //!< emition direction 63 67 float angle; //!< max angle from the direction of the emitter
Note: See TracChangeset
for help on using the changeset viewer.