#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "fog.h"
#include "mtypes.h"
Defines | |
#define | UPDATE_FOG_SCALE(ctx) |
Functions | |
void GLAPIENTRY | _mesa_Fogf (GLenum pname, GLfloat param) |
void GLAPIENTRY | _mesa_Fogi (GLenum pname, GLint param) |
void GLAPIENTRY | _mesa_Fogiv (GLenum pname, const GLint *params) |
void GLAPIENTRY | _mesa_Fogfv (GLenum pname, const GLfloat *params) |
void | _mesa_init_fog (GLcontext *ctx) |
#define UPDATE_FOG_SCALE | ( | ctx | ) |
Value:
do {\ if (ctx->Fog.End == ctx->Fog.Start)\ ctx->Fog._Scale = 1.0f;\ else\ ctx->Fog._Scale = 1.0f / (ctx->Fog.End - ctx->Fog.Start);\ } while(0)
void GLAPIENTRY _mesa_Fogf | ( | GLenum | pname, | |
GLfloat | param | |||
) |
void GLAPIENTRY _mesa_Fogfv | ( | GLenum | pname, | |
const GLfloat * | params | |||
) |
void GLAPIENTRY _mesa_Fogi | ( | GLenum | pname, | |
GLint | param | |||
) |
void GLAPIENTRY _mesa_Fogiv | ( | GLenum | pname, | |
const GLint * | params | |||
) |
void _mesa_init_fog | ( | GLcontext * | ctx | ) |