/[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.3 by jvk, Mon Oct 21 07:33:48 2002 UTC revision 1.4 by jvk, Mon Oct 21 12:41:30 2002 UTC
# Line 6  Line 6 
6  float func(float x, float y) {  float func(float x, float y) {
7      float t = x*10;      float t = x*10;
8      float u = y*10;      float u = y*10;
9      return .5 + .3 * sin(x*M_PI*2*4) - .2*(t-floor(t)) + .2*sin(y*M_PI*2)      return .5 + .2 * sin(x*M_PI*2*4) - .2*(t-floor(t)) + .2*sin(y*M_PI*2)
10          +  .2*(u-floor(u));          +  .2*(u-floor(u));
11  }  }
12    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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