mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-17 20:20:56 +00:00
forgot how lame blorland c was :/
This commit is contained in:
parent
bc06876fa8
commit
9ab8833def
1 changed files with 5 additions and 2 deletions
|
@ -282,10 +282,13 @@ R_DrawSky (void)
|
|||
static int
|
||||
determine_face (vec3_t v)
|
||||
{
|
||||
float a[3] = {fabs (v[0]), fabs (v[1]), fabs (v[2])};
|
||||
float m = a[0];
|
||||
float a[3];
|
||||
float m;
|
||||
int i=0;
|
||||
|
||||
m = a[0] = fabs (v[0]);
|
||||
a[1] = fabs (v[1]);
|
||||
a[2] = fabs (v[2]);
|
||||
if (a[1] > m) {
|
||||
m = a[1];
|
||||
i = 1;
|
||||
|
|
Loading…
Reference in a new issue