Changeset 8521 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
- Timestamp:
- Jun 16, 2006, 10:34:43 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h
r8495 r8521 63 63 64 64 private: 65 GLint stringToFogMode(const std::string& mode); 65 inline GLint stringToFogMode(const std::string& mode) { 66 if(mode == "GL_LINEAR") 67 return GL_LINEAR; 68 else if(mode == "GL_EXP") 69 return GL_EXP; 70 else if(mode == "GL_EXP2" ) 71 return GL_EXP2; 72 else 73 return -1; 74 } 66 75 67 76 bool fogActivate;
Note: See TracChangeset
for help on using the changeset viewer.