|
|
|
@ -40,7 +40,10 @@ public: |
|
|
|
|
for(int y=i/3*7;y<i/3*7+7;y++){ |
|
|
|
|
int col=0; |
|
|
|
|
for(int x=i%3*4;x<i%3*4+4;x++){ |
|
|
|
|
if(row%2&&col%4==0)continue; |
|
|
|
|
if(row%2==1&&col%4==0){ |
|
|
|
|
col++; |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
Pixel p(pge->GetDrawTarget()->GetPixel(x,y)); |
|
|
|
|
lightData.append(1,p.r); |
|
|
|
|
lightData.append(1,p.g); |
|
|
|
|