Changeset 4726 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.h
- Timestamp:
- Jun 28, 2005, 10:33:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.h
r4690 r4726 12 12 class ParticleSystem; 13 13 class TiXmlElement; 14 15 // Default values 16 #define PARTICLE_EMITTER_DEFAULT_SIZE 1.0 17 #define PARTICLE_EMITTER_DEFAULT_EMISSION_RATE 50 18 #define PARTICLE_EMITTER_DEFAULT_TYPE EMITTER_DOT 19 #define PARTICLE_EMITTER_DEFAULT_INHERIT_SPEED 0.0 20 #define PARTICLE_EMITTER_DEFAULT_SPREAD M_PI 14 21 15 22 //! The form of the Emitter to emit from … … 31 38 virtual ~ParticleEmitter(void); 32 39 40 void init(); 33 41 void loadParams(const TiXmlElement* root); 34 42 … … 47 55 void setEmissionVelocity(float velocity, float randomVelocity = 0.0); 48 56 void setEmissionMomentum(float momentum, float randomMomentum = 0.0); 57 58 void setDirection(float x, float y, float z) { this->direction = Vector(x,y,z); }; //!< todo this should be done via PNODE 49 59 50 60 /** \returns the type of the emitter */
Note: See TracChangeset
for help on using the changeset viewer.