Parent Directory | Revision Log | Patch
revision 1.1 by jvk, Mon Oct 21 06:56:08 2002 UTC | revision 1.2 by jvk, Mon Oct 21 07:07:15 2002 UTC | |
---|---|---|
# | Line 82 void GENERATE(TextureParam *params, int | Line 82 void GENERATE(TextureParam *params, int |
82 | ||
83 | } | } |
84 | ||
for(int i = 0; i<width*height*components; i += 4) { | ||
data[i + 3] -= .5; | ||
data[i + 3] *= 2; | ||
} | ||
85 | for(int i = 0; i<width*height*components; i++) { | for(int i = 0; i<width*height*components; i++) { |
86 | data[i] *= scale; | data[i] *= scale; |
87 | data[i] += bias; | data[i] += bias; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |