/[gzz]/gzz/gfx/libutil/effects.py
ViewVC logotype

Diff of /gzz/gfx/libutil/effects.py

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

revision 1.11 by tjl, Sun Sep 29 14:51:59 2002 UTC revision 1.12 by tjl, Mon Sep 30 08:15:42 2002 UTC
# Line 104  class NadirCircleFloater_NoAnchor(Buoy3F Line 104  class NadirCircleFloater_NoAnchor(Buoy3F
104                    
105    
106  class IrreguFrame:  class IrreguFrame:
107        dicefactor = 0.8
108    
109      tex = GL.createTexture()      tex = GL.createTexture()
110      tex.shade(128, 128, 0, 4, "RGBA", "RGBA",      tex.shade(128, 128, 0, 4, "RGBA", "RGBA",
# Line 164  class IrreguFrame: Line 165  class IrreguFrame:
165                  self.combiners)                  self.combiners)
166    
167    
168          self.content = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 0, code)          self.content = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 0, code, self.dicefactor)
169          self.frame = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 1, code)          self.frame = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 1, code, self.dicefactor)
170    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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