/[libvob]/libvob/src/texture/line.texture
ViewVC logotype

Diff of /libvob/src/texture/line.texture

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Mon Mar 10 05:38:19 2003 UTC revision 1.2 by mudyc, Wed Apr 30 00:33:56 2003 UTC
# Line 1  Line 1 
1    // -*-C++-*-
2  /*  /*
3  line.texture  line.texture
4   *       *    
# Line 26  line.texture Line 27  line.texture
27   * Written by Matti Katila and Tuomas J. Lukka   * Written by Matti Katila and Tuomas J. Lukka
28   */   */
29    
 // -*-C++-*-  
30    
31  void GENERATE(TextureParam *params, int width, int height, int depth, int components, float *data) {  void GENERATE(TextureParam *params, int width, int height, int depth, int components, float *data) {
32    if(components != 1) return;    if(components != 1) return;
# Line 61  void GENERATE(TextureParam *params, int Line 61  void GENERATE(TextureParam *params, int
61        case 2:        case 2:
62          data[index + 0] = 0.25;          data[index + 0] = 0.25;
63          data[index + 1] = 0.25; break;          data[index + 1] = 0.25; break;
64        case 1: data[index + 0] = 0.125; break;        case 1: data[index + 0] = 0.25; break;
65        }        }
66      }      }
67    }    }

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