# | Line 77 | Line 77 | int k; /* matches for colors in bucket #k */ | |
---|---|---|
77 | ||
78 | if (!sq[0]) for (j= -255; j<256; j++) sq[j+255] = j*j; | |
79 | ||
80 | < | r = k>>1&0xe0|H; /* center of 32x32x32 cubical bucket */ |
81 | < | g = k<<2&0xe0|H; |
82 | < | b = k<<5&0xe0|H; |
80 | > | r = (k>>1&0xe0)|H; /* center of 32x32x32 cubical bucket */ |
81 | > | g = (k<<2&0xe0)|H; |
82 | > | b = (k<<5&0xe0)|H; |
83 | rsq = sq+255-r; | |
84 | gsq = sq+255-g; | |
85 | bsq = sq+255-b; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |