mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Whitespace.
This commit is contained in:
parent
7ea1051b9a
commit
d1c115da05
3 changed files with 14 additions and 13 deletions
|
@ -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))
|
||||
return;
|
||||
|
||||
/*
|
||||
if (cull && R_CullBlocked(mins, maxs, currententity->origin))
|
||||
return;
|
||||
*/
|
||||
if (cull)
|
||||
{
|
||||
if (R_CullBox (mins, maxs))
|
||||
return;
|
||||
// if (R_CullBlocked(mins, maxs, currententity->origin))
|
||||
// return;
|
||||
}
|
||||
|
||||
// FIXME: shadecolor is supposed to be the lighting for the model, not
|
||||
// just colormod
|
||||
|
|
|
@ -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)
|
||||
|
@ -522,9 +523,9 @@ R_CullBlocked (vec3_t mins, vec3_t maxs, vec3_t org)
|
|||
return false;
|
||||
}
|
||||
|
||||
rad = sqrt((maxs[0] - org[0]) * (maxs[0] - org[0]) +
|
||||
(maxs[1] - org[1]) * (maxs[1] - org[1]) +
|
||||
(maxs[2] - org[2]) * (maxs[2] - org[2]));
|
||||
rad = sqrt ((maxs[0] - org[0]) * (maxs[0] - org[0]) +
|
||||
(maxs[1] - org[1]) * (maxs[1] - org[1]) +
|
||||
(maxs[2] - org[2]) * (maxs[2] - org[2]));
|
||||
|
||||
// Check a few points on the bounding sphere to catch rotating objects
|
||||
// Raise the origin a bit to catch droptofloor models
|
||||
|
|
|
@ -62,6 +62,7 @@ static const char rcsid[] =
|
|||
|
||||
qboolean isDedicated = false;
|
||||
|
||||
|
||||
void
|
||||
Sys_Init (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue