Debian Codegraph @

debian/patches/09_cubemapsamp.h.patch

raw symbols SCIP
1 From: Morten Kjeldgaard <[email protected]>
2 Subject: modification to source code
3
4
5 --- a/src/CubeMapSamp.h
6 +++ b/src/CubeMapSamp.h
7 @@ -14,7 +14,7 @@
8
9
10 static void Transform(Point3f ax, Point3f ay, Point3f az){
11 - for (int i=0; i<dir.size(); i++) {
12 + for (int i=0; i < (int)dir.size(); i++) {
13 dirrot[i][0]=dir[i]*ax;
14 dirrot[i][1]=dir[i]*ay;
15 dirrot[i][2]=dir[i]*az;
16 @@ -61,7 +61,7 @@
17 for (int x=0; x<size*3; x++)
18 {
19 int k=(x+tx+(y+ty)*s)*3;
20 - int i= map[Index( x , y )];
21 + //int i= map[Index( x , y )];
22 /*Byte col=0, colr=255;
23 if (div[i]>0) { col=(Byte)(sum[i]/div[i]*255); colr=128; }
24 t[k++]= colr;