Go to the source code of this file.
Macros | |
#define | SUBDIVIDE_SIZE 64 |
#define | TURBSCALE (256.0 / (2 * M_PI)) |
#define | ON_EPSILON 0.1 |
#define | MAX_CLIP_VERTS 64 |
Functions | |
void | BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) |
void | SubdividePolygon (int numverts, float *verts) |
void | GL_SubdivideSurface (msurface_t *fa) |
void | EmitWaterPolys (msurface_t *fa) |
void | DrawSkyPolygon (int nump, vec3_t vecs) |
void | ClipSkyPolygon (int nump, vec3_t vecs, int stage) |
void | R_AddSkySurface (msurface_t *fa) |
void | R_ClearSkyBox (void) |
void | MakeSkyVec (float s, float t, int axis) |
void | R_DrawSkyBox (void) |
void | R_SetSky (char *name, float rotate, vec3_t axis) |
Variables | |
model_t * | loadmodel |
char | skyname [MAX_QPATH] |
float | skyrotate |
vec3_t | skyaxis |
image_t * | sky_images [6] |
msurface_t * | warpface |
float | r_turbsin [] |
vec3_t | skyclip [6] |
int | c_sky |
int | st_to_vec [6][3] |
int | vec_to_st [6][3] |
float | skymins [2][6] |
float | skymaxs [2][6] |
float | sky_min |
float | sky_max |
int | skytexorder [6] = {0,2,1,3,4,5} |
char * | suf [6] = {"rt", "bk", "lf", "ft", "up", "dn"} |
void EmitWaterPolys | ( | msurface_t * | fa | ) |
Definition at line 211 of file gl_warp.c.
Referenced by R_DrawAlphaSurfaces(), and R_RenderBrushPoly().
void GL_SubdivideSurface | ( | msurface_t * | fa | ) |
void R_AddSkySurface | ( | msurface_t * | fa | ) |
int c_sky |
Definition at line 268 of file gl_warp.c.
Referenced by DrawSkyPolygon().
model_t* loadmodel |
Definition at line 27 of file r_model.c.
Referenced by GL_SubdivideSurface().
float r_turbsin[] |
Definition at line 198 of file gl_warp.c.
Referenced by EmitWaterPolys(), and R_Init().
image_t* sky_images[6] |
Definition at line 29 of file gl_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
float sky_max |
Definition at line 303 of file gl_warp.c.
Referenced by MakeSkyVec(), and R_SetSky().
float sky_min |
Definition at line 303 of file gl_warp.c.
Referenced by MakeSkyVec(), and R_SetSky().
vec3_t skyaxis |
Definition at line 28 of file gl_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
vec3_t skyclip[6] |
Definition at line 260 of file gl_warp.c.
Referenced by ClipSkyPolygon().
float skymaxs[2][6] |
Definition at line 302 of file gl_warp.c.
Referenced by DrawSkyPolygon(), R_ClearSkyBox(), and R_DrawSkyBox().
float skymins[2][6] |
Definition at line 302 of file gl_warp.c.
Referenced by DrawSkyPolygon(), R_ClearSkyBox(), and R_DrawSkyBox().
char skyname[MAX_QPATH] |
Definition at line 26 of file gl_warp.c.
Referenced by R_SetSky().
float skyrotate |
Definition at line 27 of file gl_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
int skytexorder[6] = {0,2,1,3,4,5} |
Definition at line 561 of file gl_warp.c.
Referenced by R_DrawSkyBox().
int st_to_vec[6][3] |
Definition at line 271 of file gl_warp.c.
Referenced by MakeSkyVec().
char* suf[6] = {"rt", "bk", "lf", "ft", "up", "dn"} |
Definition at line 625 of file gl_warp.c.
Referenced by R_SetSky().
int vec_to_st[6][3] |
Definition at line 287 of file gl_warp.c.
Referenced by DrawSkyPolygon().
msurface_t* warpface |
Definition at line 31 of file gl_warp.c.
Referenced by GL_SubdivideSurface(), and SubdividePolygon().