Defines | |
#define | CLAMP_INTERPOLANT(CHANNEL, CHANNELSTEP, LEN) |
Functions | |
static void | NAME (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) |
#define CLAMP_INTERPOLANT | ( | CHANNEL, | |||
CHANNELSTEP, | |||||
LEN | ) |
Value:
do { \ GLfixed endVal = span.CHANNEL + (LEN) * span.CHANNELSTEP; \ if (endVal < 0) { \ span.CHANNEL -= endVal; \ } \ if (span.CHANNEL < 0) { \ span.CHANNEL = 0; \ } \ } while (0)
static void NAME | ( | GLcontext * | ctx, | |
const SWvertex * | v0, | |||
const SWvertex * | v1, | |||
const SWvertex * | v2 | |||
) | [static] |