Changeset 3942 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.h
- Timestamp:
- Apr 23, 2005, 1:28:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.h
r3938 r3942 18 18 PARTICLE_PRIMITIVE}; 19 19 20 #define PARTICLE_DEFAULT_MAX_COUNT 200//!< a default count of particles in the system.21 #define PARTICLE_DEFAULT_TYPE PARTICLE_SPRITE//!< A default type of the system.20 #define PARTICLE_DEFAULT_MAX_COUNT 200 //!< a default count of particles in the system. 21 #define PARTICLE_DEFAULT_TYPE PARTICLE_SPRITE //!< A default type of the system. 22 22 23 23 // FORWARD DEFINITION … … 48 48 virtual ~ParticleSystem(); 49 49 50 void setType(PARTICLE_TYPE particleType, int count = 0); 50 51 void setMaterial(Material* material); 51 52 void setInheritSpeed(float value); 52 53 void setLifeSpan(float lifeSpan, float randomLifeSpan = 0.0); 53 void setRadius(float startRadius, float endRadius, float random Radius = 0.0);54 void setRadius(float startRadius, float endRadius, float randomStartRadius = 0.0, float randomEndRadius = 0.0); 54 55 void setConserve(float conserve); 55 56 void setMass(float mass, float randomMass); … … 64 65 float startRadius; 65 66 float endRadius; 66 float randomRadius; 67 float randomStartRadius; 68 float randomEndRadius; 67 69 float initialMass; 68 70 float randomInitialMass; … … 76 78 Particle* particles; //!< A list of particles of this System. 77 79 80 GLuint* glID; //!< A List of different gl-List-ID's 81 GLuint dialectCount; //!< How many different types of particles are there in the Particle System 78 82 79 83 void addParticle(Vector position, Vector velocity, unsigned int data = 0);
Note: See TracChangeset
for help on using the changeset viewer.