Changeset 7691 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
- Timestamp:
- May 18, 2006, 3:36:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r7689 r7691 129 129 void RainEffect::tick (float dt) 130 130 { 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 134 131 if (this->rainMove) { 135 132 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); 137 134 } 138 135 }
Note: See TracChangeset
for help on using the changeset viewer.