/[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.13 by tjl, Thu Oct 3 17:19:19 2002 UTC revision 1.14 by tjl, Thu Oct 3 17:30:08 2002 UTC
# Line 48  class NadirCircleFloater(Buoy3Floater): Line 48  class NadirCircleFloater(Buoy3Floater):
48          vs = self.vs          vs = self.vs
49          cs1 = vs.coords.affineCoordsys(0, 50, b[0], b[1], size, 0, 0, size)          cs1 = vs.coords.affineCoordsys(0, 50, b[0], b[1], size, 0, 0, size)
50          vs.matcher.add(cs1, str(key)+"_buo_1")          vs.matcher.add(cs1, str(key)+"_buo_1")
51          cs2 = vs.coords.rotateXY(cs1, 360 * self.nadir.getAngleRad(b[0], b[1]) / (2 * math.pi))          cs2 = vs.coords.rotateXY(cs1, -360 * self.nadir.getAngleRad(b[0], b[1]) / (2 * math.pi))
52          vs.matcher.add(cs2,str(key)+"_buo_2")          vs.matcher.add(cs2,str(key)+"_buo_2")
53          return cs2          return cs2
54    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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