mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-26 05:51:36 +00:00
ok, this should fix the skybox edges
This commit is contained in:
parent
862caa1012
commit
05f66b4c66
1 changed files with 3 additions and 1 deletions
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue