Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2006, 9:49:33 AM (18 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: glFog implemented in AtmosEngine

File:
1 edited

Legend:

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

    r7381 r7392  
    55#ifndef _FOG_EFFECT
    66#define _FOG_EFFECT
     7
     8#include "vector.h"
    79
    810#include "weather_effect.h"
     
    2426    void setTest(int test);
    2527
    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); }
    2729    inline void setFogDensity(float density) { this->fogDensity = density; }
    2830    inline void setFogRange(float start, float end) { this->fogStart = start; this->fogEnd = end; }
    2931    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);
    3432
    3533
    3634  private:
    37    /* GLint                   fogMode;
     35    GLint stringToFogMode(const std::string& mode);
     36
     37
     38  private:
     39    GLint                   fogMode;
    3840    GLfloat                 fogDensity;
    3941    GLfloat                 fogStart;
    4042    GLfloat                 fogEnd;
    41     Vector                  colorVector;*/
     43    Vector                  colorVector;
    4244};
    4345
Note: See TracChangeset for help on using the changeset viewer.