[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libutil effects.py
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/gfx/libutil effects.py |
Date: |
Sat, 19 Oct 2002 10:27:22 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/10/19 10:27:22
Modified files:
gfx/libutil : effects.py
Log message:
Oops, I erased too much
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libutil/effects.py.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
Patches:
Index: gzz/gfx/libutil/effects.py
diff -c gzz/gfx/libutil/effects.py:1.17 gzz/gfx/libutil/effects.py:1.18
*** gzz/gfx/libutil/effects.py:1.17 Fri Oct 18 10:02:14 2002
--- gzz/gfx/libutil/effects.py Sat Oct 19 10:27:22 2002
***************
*** 4,9 ****
--- 4,31 ----
import math
+ class CircleFloater4(Buoy4Floater):
+ def __init__(self, vs, parent, center, radius, p):
+ self.__dict__.update(locals())
+ def buoyCoordsys(self, anchorCS, key):
+ cs = self.vs.coords.buoyOnCircle(
+ self.parent, anchorCS,
+ self.center[0], self.center[1],
+ self.radius,
+ self.p[0], self.p[1],
+ 1)
+ self.vs.matcher.add(cs, key)
+ return cs
+ def addCentralBuoy(self, key):
+ cs = self.vs.coords.affineCoordsys(
+ self.parent, 0, self.center[0], self.center[1],
+ 1, 0, 0, 1)
+ self.vs.matcher.add(cs, key)
+ return cs
+ def finishFloating(self):
+ pass
+
+
class IrreguFrame:
dicefactor = 0.8
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gfx/libutil effects.py,
Tuomas J. Lukka <=