Changeset 7392 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
- Timestamp:
- Apr 27, 2006, 9:49:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
r7381 r7392 5 5 #ifndef _FOG_EFFECT 6 6 #define _FOG_EFFECT 7 8 #include "vector.h" 7 9 8 10 #include "weather_effect.h" … … 24 26 void setTest(int test); 25 27 26 /*inline void setFogMode(const std::string& mode) { this->fogMode = this->stringToFogMode(mode); }28 inline void setFogMode(const std::string& mode) { this->fogMode = this->stringToFogMode(mode); } 27 29 inline void setFogDensity(float density) { this->fogDensity = density; } 28 30 inline void setFogRange(float start, float end) { this->fogStart = start; this->fogEnd = end; } 29 31 inline void setFogColor(float r, float g, float b) { this->colorVector = Vector(r, g, b); } 30 */31 32 private:33 //GLint stringToFogMode(const std::string& mode);34 32 35 33 36 34 private: 37 /* GLint fogMode; 35 GLint stringToFogMode(const std::string& mode); 36 37 38 private: 39 GLint fogMode; 38 40 GLfloat fogDensity; 39 41 GLfloat fogStart; 40 42 GLfloat fogEnd; 41 Vector colorVector; */43 Vector colorVector; 42 44 }; 43 45
Note: See TracChangeset
for help on using the changeset viewer.