Changeset 9182 in orxonox.OLD for branches/presentation/src/lib/graphics
- Timestamp:
- Jul 5, 2006, 3:19:43 AM (18 years ago)
- Location:
- branches/presentation/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/graphics/effects/fog_effect.cc
r9112 r9182 184 184 185 185 if ( this->fogMode == GL_LINEAR) 186 this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFade InDuration ) + this->fogEnd;186 this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeOutDuration ) + this->fogEnd; 187 187 else 188 this->fogFadeDensity = 1 - (( this->localTimer / this->fogFade InDuration ) * this->fogDensity);188 this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeOutDuration ) * this->fogDensity); 189 189 190 190 if ( this->localTimer >= this->fogFadeOutDuration ) -
branches/presentation/src/lib/graphics/effects/lightning_effect.cc
r9112 r9182 112 112 } 113 113 114 //should load both texture 114 115 this->thunderTextureA = true; 115 116 this->setTexture(); 117 this->switchTexture(); 116 118 117 119 if (this->lightningMove) {
Note: See TracChangeset
for help on using the changeset viewer.