/[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.8 by tjl, Fri Sep 27 18:22:59 2002 UTC revision 1.9 by tjl, Fri Sep 27 19:34:48 2002 UTC
# Line 117  class IrreguFrame: Line 117  class IrreguFrame:
117    
118      combiners = "Enable"      combiners = "Enable"
119    
120      def __init__(self, border, w, h, ripple):      def __init__(self, x0, y0, x1, y1, border, ripple):
121          print "Texture id:", self.tex.getTexId()          print "Texture id:", self.tex.getTexId()
122    
123          code = """          code = """
# Line 164  class IrreguFrame: Line 164  class IrreguFrame:
164                  self.combiners)                  self.combiners)
165    
166    
167          self.content = GLRen.createIrregularQuad(border, w, h, ripple, 0, code)          self.content = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 0, code)
168          self.frame = GLRen.createIrregularQuad(border, w, h, ripple, 1, code)          self.frame = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 1, code)
169    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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