3dphotoshoot
diff src/pc/camera.c @ 27:3d082c566b53
fixed all the bugs, pc version works
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 18 Jun 2015 04:32:25 +0300 |
parents | a460b1e5af4a |
children |
line diff
1.1 --- a/src/pc/camera.c Thu Jun 18 03:55:05 2015 +0300 1.2 +++ b/src/pc/camera.c Thu Jun 18 04:32:25 2015 +0300 1.3 @@ -28,9 +28,9 @@ 1.4 float wave = cos(len * 4.0 * M_PI); 1.5 int band = wave >= 0 ? 0 : 1; 1.6 1.7 - *pptr++ = pal[band][chess][0]; 1.8 - *pptr++ = pal[band][chess][1]; 1.9 - *pptr++ = pal[band][chess][2]; 1.10 + *pptr++ = pal[band][chess][0] / 2; 1.11 + *pptr++ = pal[band][chess][1] / 2; 1.12 + *pptr++ = pal[band][chess][2] / 2; 1.13 } 1.14 } 1.15