Changeset 7683 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.h
- Timestamp:
- May 18, 2006, 2:56:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.h
r7652 r7683 44 44 void emissionRate(float emissionRate){ this->rate = emissionRate; } 45 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 46 void size(float sizeX, float sizeY) { this->snowSize = Vector2D(sizeX, sizeY); } 48 47 void coord(float x, float y, float z) { this->snowCoord = Vector(x, y, z); } 48 void wind(int force) { this->angle = angle*force; this->randomAngle = randomAngle*force; } 49 49 50 50 int particles;
Note: See TracChangeset
for help on using the changeset viewer.