ok, this should fix the skybox edges

This commit is contained in:
Bill Currie 2000-11-13 19:38:56 +00:00
parent 862caa1012
commit 05f66b4c66

View file

@ -541,13 +541,15 @@ R_DrawSkyChain (msurface_t *sky_chain)
int i,j;
glColor3f (1, 0, 0);
for (i=0; i<6; i++) {
vec3_t v;
glBegin (GL_LINES);
for (j=0; j<4; j++) {
vec3_t v;
memcpy (v, &skyvec[i][j][2], sizeof(v));
VectorAdd (v, r_refdef.vieworg, v);
glVertex3fv (v);
}
memcpy (v, &skyvec[i][j][2], sizeof(v));
VectorAdd (v, r_refdef.vieworg, v);
glVertex3fv (&skyvec[i][0][2]);
glEnd ();
}