Whitespace.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-10-01 21:52:05 +00:00
parent fce4b903eb
commit 4b3c4e1eaf
2 changed files with 8 additions and 8 deletions

View file

@ -1130,9 +1130,9 @@ R_CullBlocked (vec3_t mins, vec3_t maxs, vec3_t org)
return false; return false;
} }
rad = sqrt((maxs[0]-org[0])*(maxs[0]-org[0]) + rad = sqrt((maxs[0] - org[0]) * (maxs[0] - org[0]) +
(maxs[1]-org[1])*(maxs[1]-org[1]) + (maxs[1] - org[1]) * (maxs[1] - org[1]) +
(maxs[2]-org[2])*(maxs[2]-org[2]) ); (maxs[2] - org[2]) * (maxs[2] - org[2]));
// Check a few points on the bounding sphere to catch rotating objects // Check a few points on the bounding sphere to catch rotating objects
// Raise the origin a bit to catch droptofloor models // Raise the origin a bit to catch droptofloor models

View file

@ -479,8 +479,8 @@ process_corners (struct box_def *box)
// 3 vertices // 3 vertices
unsigned int sel = unsigned int sel =
(((abs (visit[2].face - visit[0].face) == 3) << 2) | (((abs (visit[2].face - visit[0].face) == 3) << 2) |
((abs (visit[3].face - visit[1].face) == 3) << 1) ((abs (visit[3].face - visit[1].face) == 3) << 1) |
| ((abs (visit[4].face - visit[2].face) == 3) << 0)); ((abs (visit[4].face - visit[2].face) == 3) << 0));
vec3_t v[3]; vec3_t v[3];
center = faces_bit_magic[sel]; center = faces_bit_magic[sel];
@ -682,8 +682,8 @@ EmitSkyPolys (float speedscale, msurface_t *fa)
dir[0] *= length; dir[0] *= length;
dir[1] *= length; dir[1] *= length;
s = (speedscale + dir[0]) * (1.0/128); s = (speedscale + dir[0]) * (1.0 / 128.0);
t = (speedscale + dir[1]) * (1.0/128); t = (speedscale + dir[1]) * (1.0 / 128.0);
qfglTexCoord2f (s, t); qfglTexCoord2f (s, t);
qfglVertex3fv (v); qfglVertex3fv (v);
@ -835,7 +835,7 @@ R_DrawSkyChain (msurface_t *sky_chain)
vec3_t v; vec3_t v;
qfglBegin (GL_LINE_LOOP); qfglBegin (GL_LINE_LOOP);
for (j = 0; j < 4; j++) { for (j = 0; j < 4; j++) {
VectorScale (&skyvec[i][j][2], 1.0/128.0, v); VectorScale (&skyvec[i][j][2], 1.0 / 128.0, v);
VectorAdd (v, r_refdef.vieworg, v); VectorAdd (v, r_refdef.vieworg, v);
qfglVertex3fv (v); qfglVertex3fv (v);
} }