#include "vk_local.h"
Go to the source code of this file.
Macros | |
#define | SUBDIVIDE_SIZE 64 |
#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 | Vk_SubdivideSurface (msurface_t *fa) |
void | EmitWaterPolys (msurface_t *fa, image_t *texture, float *modelMatrix, float *color) |
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, float *vertexData) |
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 |
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, |
image_t * | texture, | ||
float * | modelMatrix, | ||
float * | color | ||
) |
Definition at line 202 of file vk_warp.c.
void R_AddSkySurface | ( | msurface_t * | fa | ) |
Definition at line 577 of file vk_warp.c.
Referenced by R_DrawWorld().
void Vk_SubdivideSurface | ( | msurface_t * | fa | ) |
int c_sky |
Definition at line 288 of file vk_warp.c.
Referenced by DrawSkyPolygon().
model_t* loadmodel |
Definition at line 27 of file r_model.c.
Referenced by CalcSurfaceExtents(), Mod_ForName(), Mod_LoadBrushModel(), Mod_LoadEdges(), Mod_LoadFaces(), Mod_LoadLeafs(), Mod_LoadLighting(), Mod_LoadMarksurfaces(), Mod_LoadNodes(), Mod_LoadPlanes(), Mod_LoadRighting(), Mod_LoadSubmodels(), Mod_LoadSurfedges(), Mod_LoadTexinfo(), Mod_LoadVertexes(), Mod_LoadVisibility(), R_InitSkyBox(), R_NumberLeafs(), and Vk_SubdivideSurface().
image_t* sky_images[6] |
Definition at line 29 of file vk_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
float sky_max |
Definition at line 323 of file vk_warp.c.
Referenced by MakeSkyVec(), and R_SetSky().
float sky_min |
Definition at line 323 of file vk_warp.c.
Referenced by MakeSkyVec(), and R_SetSky().
vec3_t skyaxis |
Definition at line 28 of file vk_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
vec3_t skyclip[6] |
Definition at line 280 of file vk_warp.c.
Referenced by ClipSkyPolygon().
float skymaxs[2][6] |
Definition at line 322 of file vk_warp.c.
Referenced by DrawSkyPolygon(), R_ClearSkyBox(), and R_DrawSkyBox().
float skymins[2][6] |
Definition at line 322 of file vk_warp.c.
Referenced by DrawSkyPolygon(), R_ClearSkyBox(), and R_DrawSkyBox().
char skyname[MAX_QPATH] |
Definition at line 26 of file vk_warp.c.
Referenced by R_SetSky().
float skyrotate |
Definition at line 27 of file vk_warp.c.
Referenced by R_DrawSkyBox(), and R_SetSky().
int skytexorder[6] = {0,2,1,3,4,5} |
Definition at line 576 of file vk_warp.c.
Referenced by R_DrawSkyBox().
int st_to_vec[6][3] |
Definition at line 291 of file vk_warp.c.
Referenced by MakeSkyVec().
char* suf[6] = {"rt", "bk", "lf", "ft", "up", "dn"} |
Definition at line 653 of file vk_warp.c.
Referenced by R_SetSky().
int vec_to_st[6][3] |
Definition at line 307 of file vk_warp.c.
Referenced by DrawSkyPolygon().
msurface_t* warpface |
Definition at line 31 of file vk_warp.c.
Referenced by SubdividePolygon(), and Vk_SubdivideSurface().