Changeset 4597 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_emitter.h
- Timestamp:
- Jun 11, 2005, 12:55:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_emitter.h
r4493 r4597 1 /*! 1 /*! 2 2 \file particle_emitter.h 3 3 \brief Definition of a ParticleEmitter … … 9 9 #include "p_node.h" 10 10 11 // FORWARD DEFINITION 11 // FORWARD DEFINITION 12 12 class ParticleSystem; 13 13 class TiXmlElement; 14 14 15 15 //! The form of the Emitter to emit from 16 typedef enum EMITTER_TYPE { EMITTER_DOT = 1, 17 EMITTER_PLANE = 2, 18 EMITTER_SPHERE= 4, 19 EMITTER_CUBE = 8 }; 16 typedef enum EMITTER_TYPE 17 { 18 EMITTER_DOT = 1, 19 EMITTER_PLANE = 2, 20 EMITTER_SPHERE = 4, 21 EMITTER_CUBE = 8 22 }; 20 23 21 24 //! A class to handle an Emitter. … … 24 27 public: 25 28 ParticleEmitter(const Vector& direction, float angle = .5, 26 29 float emissionRate = 1.0, float velocity = 1.0); 27 30 ParticleEmitter(const TiXmlElement* root); 28 31 virtual ~ParticleEmitter(void); 29 32 30 33 void loadParams(const TiXmlElement* root); 31 34
Note: See TracChangeset
for help on using the changeset viewer.