/[gzz]/gzz/gzz/view/buoy/buoymanager.py
ViewVC logotype

Diff of /gzz/gzz/view/buoy/buoymanager.py

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

revision 1.31 by mudyc, Wed Feb 12 17:02:42 2003 UTC revision 1.32 by mudyc, Wed Feb 12 17:39:36 2003 UTC
# Line 16  gzz.client.AbstractUpdateManager.fractCa Line 16  gzz.client.AbstractUpdateManager.fractCa
16    
17  print "LOADING BUOYMANAGER"  print "LOADING BUOYMANAGER"
18    
19  lineconn = GLRen.createLineConnector(.5, .5, .5, .5, 0, 0, 0, 0, 0, 1)  #lineconn = GLRen.createLineConnector(.5, .5, .5, .5, 0, 0, 0, 0, 0, 1)
20    lineconn = GLRen.createSqFilletConnection(30, 1, .125, 6)
21    
22    
23  class RealBuoyManager(BuoyLinkListener):  class RealBuoyManager(BuoyLinkListener):
24      """Manage buoys through the new APIs      """Manage buoys through the new APIs
# Line 76  class RealBuoyManager(BuoyLinkListener): Line 78  class RealBuoyManager(BuoyLinkListener):
78          anchorUnit = self.vs.unitSqCS(anchorCS, "UN")          anchorUnit = self.vs.unitSqCS(anchorCS, "UN")
79          anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5)          anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5)
80          x = self.ctrx          x = self.ctrx
81          r = self.ctry * 1.22          r = self.ctry * 1.2
82          print "Linkreally: ",direction, otherNode          print "Linkreally: ",direction, otherNode
83          if direction > 0:          if direction > 0:
84              buoy = self.vs.coords.buoyOnCircle(0, anchorCenter,              buoy = self.vs.coords.buoyOnCircle(0, anchorCenter,

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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