Changeset 8267 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
- Timestamp:
- Jun 8, 2006, 4:28:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
r8255 r8267 33 33 inline void setFogRange(float start, float end) { this->fogStart = start; this->fogEnd = end; } 34 34 inline void setFogColor(float r, float g, float b) { this->colorVector = Vector(r, g, b); } 35 inline void setFogFadeIn(float fadein) { this->fogFadeInDuration = fadein; } 36 inline void setFogFadeOut(float fadeout) { this->fogFadeOutDuration = fadeout; } 37 35 38 inline void setFogOption(const std::string& option) { if (option == "activate") this->fogActivate = true; } 36 39 … … 41 44 42 45 bool fogActivate; 43 GLfloat fogFadeDuration; 46 GLfloat fogFadeInDuration; 47 GLfloat fogFadeOutDuration; 48 44 49 float localTimer; 45 50
Note: See TracChangeset
for help on using the changeset viewer.