/[libvob]/libvob/vob/demo/multifil/randgraph.py
ViewVC logotype

Diff of /libvob/vob/demo/multifil/randgraph.py

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

revision 1.3 by jvk, Fri May 30 09:07:36 2003 UTC revision 1.4 by jvk, Fri May 30 09:14:39 2003 UTC
# Line 22  class Scene: Line 22  class Scene:
22              Toggle("depthColor", 0, "Color from depth", "d"),              Toggle("depthColor", 0, "Color from depth", "d"),
23              Toggle("lines", 0, "Toggle showing lines", "l"),              Toggle("lines", 0, "Toggle showing lines", "l"),
24              SlideLin("N", 21, 3, "N", "-", "+"),              SlideLin("N", 21, 3, "N", "-", "+"),
25                SlideLin("ang", 21, 3, "Rotation angle", "Prior", "Next"),
26          )          )
27      def scene(self, vs):      def scene(self, vs):
28          putnoc(vs, background((.5,1,.2)))          putnoc(vs, background((.5,1,.2)))
# Line 49  class Scene: Line 50  class Scene:
50          N2 = 2*self.N/3          N2 = 2*self.N/3
51    
52          box = 800          box = 800
53            
54            # XXX: Rotate around y axis
55            
56          cs = vs.scaleCS(0, "cs", 1, 1, .15)          cs = vs.scaleCS(0, "cs", 1, 1, .15)
57    
58          nodes = [ {          nodes = [ {

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