Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
_GFXFogState Struct Reference

Public Member Functions

 _GFXFogState ()
 

Public Attributes

bool enabled
 
FOGMODE curmode
 
float density
 
float nnear
 
float ffar
 
GFXColor c
 
int index
 

Detailed Description

Definition at line 3 of file gl_fog.cpp.

Constructor & Destructor Documentation

_GFXFogState::_GFXFogState ( )
inline

Definition at line 12 of file gl_fog.cpp.

References curmode, density, ffar, FOG_EXP, index, and nnear.

12  : c( 0, 0, 0, 0 )
13  {
14  index = 0;
15  nnear = 0;
16  ffar = 1;
17  density = 1;
18  curmode = FOG_EXP;
19  }

Member Data Documentation

GFXColor _GFXFogState::c

Definition at line 10 of file gl_fog.cpp.

Referenced by GFXFogColor().

FOGMODE _GFXFogState::curmode

Definition at line 6 of file gl_fog.cpp.

Referenced by _GFXFogState(), and GFXFogMode().

float _GFXFogState::density

Definition at line 7 of file gl_fog.cpp.

Referenced by _GFXFogState(), and GFXFogDensity().

bool _GFXFogState::enabled

Definition at line 5 of file gl_fog.cpp.

Referenced by GFXFogMode().

float _GFXFogState::ffar

Definition at line 9 of file gl_fog.cpp.

Referenced by _GFXFogState(), and GFXFogLimits().

int _GFXFogState::index

Definition at line 11 of file gl_fog.cpp.

Referenced by _GFXFogState(), and GFXFogIndex().

float _GFXFogState::nnear

Definition at line 8 of file gl_fog.cpp.

Referenced by _GFXFogState(), and GFXFogLimits().


The documentation for this struct was generated from the following file: