Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2006, 3:36:54 PM (18 years ago)
Author:
amaechler
Message:

branches/atmosphere_engine: fog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc

    r7689 r7691  
    129129void RainEffect::tick (float dt)
    130130{
    131         //float distance = (State::getCameraNode()->getAbsCoor() - rainCoord).len();
    132         // PRINTF(0)( "RainEffect, coords: %f, %f, %f\n", this->rainCoord.x, this->rainCoord.y, this->rainCoord.z );
    133 
    134131        if (this->rainMove) {
    135132                this->rainCoord = State::getCameraNode()->getAbsCoor();
    136                 this->emitter->setRelCoor(this->rainCoord.x +150, this->rainCoord.y+700, this->rainCoord.z+150);
     133                this->emitter->setRelCoor(this->rainCoord.x , this->rainCoord.y+800, this->rainCoord.z);
    137134        }
    138135}
Note: See TracChangeset for help on using the changeset viewer.