[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/vob/demo/multifil randgraph.py
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] libvob/vob/demo/multifil randgraph.py |
Date: |
Fri, 30 May 2003 05:14:39 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Janne V. Kujala <address@hidden> 03/05/30 05:14:39
Modified files:
vob/demo/multifil: randgraph.py
Log message:
How to rotate around y-axis?
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/demo/multifil/randgraph.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: libvob/vob/demo/multifil/randgraph.py
diff -u libvob/vob/demo/multifil/randgraph.py:1.3
libvob/vob/demo/multifil/randgraph.py:1.4
--- libvob/vob/demo/multifil/randgraph.py:1.3 Fri May 30 05:07:36 2003
+++ libvob/vob/demo/multifil/randgraph.py Fri May 30 05:14:39 2003
@@ -22,6 +22,7 @@
Toggle("depthColor", 0, "Color from depth", "d"),
Toggle("lines", 0, "Toggle showing lines", "l"),
SlideLin("N", 21, 3, "N", "-", "+"),
+ SlideLin("ang", 21, 3, "Rotation angle", "Prior", "Next"),
)
def scene(self, vs):
putnoc(vs, background((.5,1,.2)))
@@ -49,7 +50,9 @@
N2 = 2*self.N/3
box = 800
-
+
+ # XXX: Rotate around y axis
+
cs = vs.scaleCS(0, "cs", 1, 1, .15)
nodes = [ {