mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
Cleanups from pomac!
This commit is contained in:
parent
b0fc4a7b6e
commit
f327407bb8
36 changed files with 155 additions and 195 deletions
|
@ -174,7 +174,7 @@ static void R_LoadLightmaps( lump_t *l ) {
|
|||
float g = buf_p[j*3+1];
|
||||
float b = buf_p[j*3+2];
|
||||
float intensity;
|
||||
float out[3];
|
||||
float out[3] = {0.0, 0.0, 0.0};
|
||||
|
||||
intensity = 0.33f * r + 0.685f * g + 0.063f * b;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue