mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Whitespace.
This commit is contained in:
parent
fce4b903eb
commit
4b3c4e1eaf
2 changed files with 8 additions and 8 deletions
|
@ -1130,9 +1130,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
|
||||
|
|
|
@ -479,8 +479,8 @@ process_corners (struct box_def *box)
|
|||
// 3 vertices
|
||||
unsigned int sel =
|
||||
(((abs (visit[2].face - visit[0].face) == 3) << 2) |
|
||||
((abs (visit[3].face - visit[1].face) == 3) << 1)
|
||||
| ((abs (visit[4].face - visit[2].face) == 3) << 0));
|
||||
((abs (visit[3].face - visit[1].face) == 3) << 1) |
|
||||
((abs (visit[4].face - visit[2].face) == 3) << 0));
|
||||
vec3_t v[3];
|
||||
|
||||
center = faces_bit_magic[sel];
|
||||
|
@ -682,8 +682,8 @@ EmitSkyPolys (float speedscale, msurface_t *fa)
|
|||
dir[0] *= length;
|
||||
dir[1] *= length;
|
||||
|
||||
s = (speedscale + dir[0]) * (1.0/128);
|
||||
t = (speedscale + dir[1]) * (1.0/128);
|
||||
s = (speedscale + dir[0]) * (1.0 / 128.0);
|
||||
t = (speedscale + dir[1]) * (1.0 / 128.0);
|
||||
|
||||
qfglTexCoord2f (s, t);
|
||||
qfglVertex3fv (v);
|
||||
|
@ -835,7 +835,7 @@ R_DrawSkyChain (msurface_t *sky_chain)
|
|||
vec3_t v;
|
||||
qfglBegin (GL_LINE_LOOP);
|
||||
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);
|
||||
qfglVertex3fv (v);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue