/[gzz]/gzz/gfx/libpaper/textures.py
ViewVC logotype

Diff of /gzz/gfx/libpaper/textures.py

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

revision 1.5 by tjl, Wed Sep 4 06:31:11 2002 UTC revision 1.6 by tjl, Wed Sep 4 07:37:10 2002 UTC
# Line 31  def mt(i): Line 31  def mt(i):
31    
32  tres = 128  tres = 128
33    
34  textures["RGB2"] = [  ptextures["RGB2"] = [
35  mt(i) for i in [  mt(i) for i in [
36  #    ("rgbn", [512, 512, 0, 3, "RGB", "RGB",  #    ("rgbn", [512, 512, 0, 3, "RGB", "RGB",
37  #         "noise", ["type", "turbulence", "freq", "40", "scale", "-3", "bias", "2"]]),  #         "noise", ["type", "turbulence", "freq", "40", "scale", "-3", "bias", "2"]]),
# Line 42  mt(i) for i in [ Line 42  mt(i) for i in [
42  ]]  ]]
43    
44  def getPaperTexture(type, gen):  def getPaperTexture(type, gen):
45      return selectRandom(textures[type], gen)      return selectRandom(ptextures[type], gen)
46    
47  if 0:  if 0:
48              rgbTextures = [              rgbTextures = [

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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