/[libvob]/libvob/vob/demo/irregu.py
ViewVC logotype

Diff of /libvob/vob/demo/irregu.py

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

revision 1.1 by tjl, Thu Apr 10 14:00:19 2003 UTC revision 1.2 by jvk, Mon Apr 14 13:44:02 2003 UTC
# Line 26  from org.nongnu import libvob as vob Line 26  from org.nongnu import libvob as vob
26  from org.nongnu.libvob.gl import GL, GLRen  from org.nongnu.libvob.gl import GL, GLRen
27  from math import sin,cos,pi  from math import sin,cos,pi
28    
29  from org.nongnu.libvob.putil.misc import *  from vob.putil.misc import *
30  from org.nongnu.libvob.putil.effects import *  from vob.putil.effects import *
31    
32  class Scene:  class Scene:
33      def __init__(self):      def __init__(self):
# Line 131  class Scene: Line 131  class Scene:
131    
132          vs.matcher.add(cs2, "2")          vs.matcher.add(cs2, "2")
133    
134          if self.type == "square":          #if self.type == "square":
135              cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 )          cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 )
136              vs.matcher.add(cs2, "2box")          vs.matcher.add(cs2, "2box")
137                            
138          cs1 = vs.coords.affine(0, 10, 600, 450,          cs1 = vs.coords.affine(0, 10, 600, 450,
139                                 self.scale * 150,                                 self.scale * 150,

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