Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2006, 2:56:01 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: finished snow effect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.h

    r7652 r7683  
    4444                void emissionRate(float emissionRate){ this->rate = emissionRate; }
    4545                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; }
    4746                void size(float sizeX, float sizeY) { this->snowSize = Vector2D(sizeX, sizeY); }
    4847                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; }
    4949
    5050                int particles;
Note: See TracChangeset for help on using the changeset viewer.