vkQuake2 doxygen  1.0 dev
r_dither.h File Reference

Go to the source code of this file.

Macros

#define DitherKernel2(u, v, X, Y)
 

Macro Definition Documentation

◆ DitherKernel2

#define DitherKernel2 (   u,
  v,
  X,
 
)
Value:
if ((Y)&1) { \
if ((X)&1) { \
(u) = (u) + (32768); \
(v) = (v) + (49152); \
} else { \
(u) = (u) + (16384); \
} \
} else { \
if ((X)&1) { \
(v) = (v) + (32768); \
} else { \
(u) = (u) + (49152); \
(v) = (v) + (16384); \
} \
}

Definition at line 36 of file r_dither.h.

X
static uint32_t X[16]
Definition: md4.c:33
v
GLdouble v
Definition: qgl_win.c:143
u
static int u
Definition: r_part.c:472