/[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.2 by tjl, Thu Sep 19 01:20:04 2002 UTC revision 1.3 by tjl, Thu Sep 19 07:15:21 2002 UTC
# Line 61  class NadirCircleFloater_NoAnchor(Buoy3F Line 61  class NadirCircleFloater_NoAnchor(Buoy3F
61          self.vs, self.c, self.r, self.nadir = vs, center, radius, nadir          self.vs, self.c, self.r, self.nadir = vs, center, radius, nadir
62          self.dir = dir          self.dir = dir
63          self.ind = 0          self.ind = 0
64            self.angles = [0.2 * 2*math.pi, 0.4 * 2*math.pi]
65      def addBuoy(self, anchorX, anchorY, importance, key, buoy, w, h):      def addBuoy(self, anchorX, anchorY, importance, key, buoy, w, h):
66          size = importance          size = importance
67    
68          # 1. find the buoy point          # 1. find the buoy point
69    
70          angle = 2.6*math.pi/2 + self.ind / 5          angle = self.angles[self.ind]
71          angle *= self.dir          angle *= self.dir
72          self.ind += 1          self.ind += 1
73    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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