Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2006, 4:28:24 PM (18 years ago)
Author:
amaechler
Message:

raise the number:)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h

    r8255 r8267  
    3333                inline void setFogRange(float start, float end) { this->fogStart = start; this->fogEnd = end; }
    3434                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
    3538                inline void setFogOption(const std::string& option) { if (option == "activate") this->fogActivate = true; }
    3639
     
    4144
    4245                bool                            fogActivate;
    43                 GLfloat                         fogFadeDuration;
     46                GLfloat                         fogFadeInDuration;
     47                GLfloat                         fogFadeOutDuration;
     48
    4449                float                           localTimer;
    4550               
Note: See TracChangeset for help on using the changeset viewer.