Changeset 7691 in orxonox.OLD for branches/atmospheric_engine/src/lib
- Timestamp:
- May 18, 2006, 3:36:54 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc
r7689 r7691 53 53 WeatherEffect::loadParams(root); 54 54 55 LoadParam(root, "fog-mode", this, FogEffect, setFogMode); 56 LoadParam(root, "fog-density", this, FogEffect, setFogDensity); 57 LoadParam(root, "fog-color", this, FogEffect, setFogColor); 55 LoadParam(root, "mode", this, FogEffect, setFogMode); 56 LoadParam(root, "density", this, FogEffect, setFogDensity); 57 LoadParam(root, "range", this, FogEffect, setFogRange); 58 LoadParam(root, "color", this, FogEffect, setFogColor); 58 59 } 59 60 -
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.