mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
379 B
20 lines
379 B
#ifndef FOG_H
|
|
#define FOG_H
|
|
|
|
typedef enum { FOG_EXP, FOG_EXP2, FOG_LINEAR } FogModeType;
|
|
|
|
typedef struct {
|
|
char acDummy1[16];
|
|
BOOL bEnable;
|
|
GLfloat fColor[4];
|
|
GLfloat fDensity;
|
|
GLfloat fLinearStart, fLinearEnd;
|
|
int iMode;
|
|
int iQuality;
|
|
char acDummy2[16];
|
|
} FOGDATA;
|
|
|
|
void InitFD(FOGDATA *pfd);
|
|
void fog_init(FOGDATA fd);
|
|
|
|
#endif // FOG_H
|