Whitespace.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-10-30 19:58:01 +00:00
parent 7ea1051b9a
commit d1c115da05
3 changed files with 14 additions and 13 deletions

View file

@ -75,8 +75,6 @@ typedef struct {
int *order;
} vert_order_t;
float r_avertexnormals[NUMVERTEXNORMALS][3] = {
#include "anorms.h"
};
@ -92,6 +90,7 @@ float *shadedots = r_avertexnormal_dots[0];
int lastposenum, lastposenum0;
vec3_t shadevector;
static void
GL_DrawAliasFrame (vert_order_t *vo, qboolean fb)
{
@ -397,13 +396,13 @@ R_DrawAliasModel (entity_t *e, qboolean cull)
VectorAdd (currententity->origin, clmodel->mins, mins);
VectorAdd (currententity->origin, clmodel->maxs, maxs);
if (cull && R_CullBox (mins, maxs))
if (cull)
{
if (R_CullBox (mins, maxs))
return;
/*
if (cull && R_CullBlocked(mins, maxs, currententity->origin))
return;
*/
// if (R_CullBlocked(mins, maxs, currententity->origin))
// return;
}
// FIXME: shadecolor is supposed to be the lighting for the model, not
// just colormod

View file

@ -106,6 +106,7 @@ void R_MarkLeaves (void);
void R_DrawAliasModel (entity_t *e, qboolean cull);
void R_DrawSpriteModel (entity_t *e);
void
glrmain_init (void)
{
@ -193,8 +194,8 @@ R_DrawEntitiesOnList (void)
R_DrawAliasModel (currententity, true);
}
qfglColor3ubv (color_white);
qfglColor3ubv (color_white);
qfglEnable (GL_ALPHA_TEST);
for (i = 0; i < r_numvisedicts; i++) {
if (r_visedicts[i]->model->type != mod_sprite)

View file

@ -62,6 +62,7 @@ static const char rcsid[] =
qboolean isDedicated = false;
void
Sys_Init (void)
{