Changeset 9182 in orxonox.OLD for branches/presentation/src/lib/graphics/effects/fog_effect.cc
- Timestamp:
- Jul 5, 2006, 3:19:43 AM (18 years ago)
- File:
-
- 1 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 )
Note: See TracChangeset
for help on using the changeset viewer.