/[gzz]/gzz/gfx/libtexture/irregu.texture
ViewVC logotype

Diff of /gzz/gfx/libtexture/irregu.texture

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26