Changeset 7651 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.h
- Timestamp:
- May 17, 2006, 4:05:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.h
r7650 r7651 35 35 void activateSnow(); 36 36 void deactivateSnow(); 37 37 38 38 private: 39 void numParticles(int n) ;40 void materialTexture(const std::string& texture) ;41 void lifeSpan(float lifeSpan, float randomLifeSpan) ;42 void radius(float radius, float randomRadius) ;43 void mass(float mass, float randomMass) ;44 void emissionRate(float emissionRate) ;45 void emissionVelocity(float velocity, float randomVelocity) ;46 void spread(float angle, float randomAngle) ;47 void size(float sizeX, float sizeY) ;48 void coord(float x Coor, float yCoor, float zCoor);49 39 void numParticles(int n) { this->particles = n; } 40 void materialTexture(const std::string& texture) { this->texture = texture; } 41 void lifeSpan(float lifeSpan, float randomLifeSpan) { this->life = lifeSpan; this->randomLife = randomLifeSpan; } 42 void radius(float radius, float randomRadius) { this->snowRadius = radius; this->randomRadius = randomRadius; } 43 void mass(float mass, float randomMass) { this->snowMass = mass; this->randomMass = randomMass; } 44 void emissionRate(float emissionRate){ this->rate = emissionRate; } 45 void emissionVelocity(float velocity, float randomVelocity){ this->velocity = velocity; this->randomVelocity = randomVelocity; } 46 void spread(float angle, float randomAngle) { this->angle = angle; this->randomAngle = randomAngle; } 47 void size(float sizeX, float sizeY) { this->snowSize = Vector2D(sizeX, sizeY); } 48 void coord(float x, float y, float z) { this->snowCoord = Vector(x, y, z); } 49 50 50 int particles; 51 51 std::string texture; … … 61 61 62 62 bool activated; 63 63 64 64 static SpriteParticles* snowParticles; 65 65 66 66 PlaneEmitter* emitter; 67 67 };
Note: See TracChangeset
for help on using the changeset viewer.