Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [PyX-checkins] pyx/pyx connector.py,1.29,1.30

 [PyX-checkins] pyx/pyx connector.py,1.29,1.30 From: André Wobst - 2005-09-12 09:18:20 ```Update of /cvsroot/pyx/pyx/pyx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10342/pyx Modified Files: connector.py Log Message: correction for sign function (!?) Index: connector.py =================================================================== RCS file: /cvsroot/pyx/pyx/pyx/connector.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** connector.py 12 Sep 2005 08:47:29 -0000 1.29 --- connector.py 12 Sep 2005 09:18:08 -0000 1.30 *************** *** 31,35 **** def radians(x): return x*pi/180 def degrees(x): return x*180/pi ! from deformer import sign --- 31,35 ---- def radians(x): return x*pi/180 def degrees(x): return x*180/pi ! from deformer import sign1 *************** *** 140,144 **** else: radius = abs(0.5 * (bulge + 0.25 * distance**2 / bulge)) ! centerdist = sign(bulge) * (radius - abs(bulge)) center = (0.5 * (self.box1.center[0] + self.box2.center[0]) - tangent[1]*centerdist, 0.5 * (self.box1.center[1] + self.box2.center[1]) + tangent[0]*centerdist) --- 140,144 ---- else: radius = abs(0.5 * (bulge + 0.25 * distance**2 / bulge)) ! centerdist = sign1(bulge) * (radius - abs(bulge)) center = (0.5 * (self.box1.center[0] + self.box2.center[0]) - tangent[1]*centerdist, 0.5 * (self.box1.center[1] + self.box2.center[1]) + tangent[0]*centerdist) ```

 [PyX-checkins] pyx/pyx connector.py,1.29,1.30 From: André Wobst - 2005-09-12 09:18:20 ```Update of /cvsroot/pyx/pyx/pyx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10342/pyx Modified Files: connector.py Log Message: correction for sign function (!?) Index: connector.py =================================================================== RCS file: /cvsroot/pyx/pyx/pyx/connector.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** connector.py 12 Sep 2005 08:47:29 -0000 1.29 --- connector.py 12 Sep 2005 09:18:08 -0000 1.30 *************** *** 31,35 **** def radians(x): return x*pi/180 def degrees(x): return x*180/pi ! from deformer import sign --- 31,35 ---- def radians(x): return x*pi/180 def degrees(x): return x*180/pi ! from deformer import sign1 *************** *** 140,144 **** else: radius = abs(0.5 * (bulge + 0.25 * distance**2 / bulge)) ! centerdist = sign(bulge) * (radius - abs(bulge)) center = (0.5 * (self.box1.center[0] + self.box2.center[0]) - tangent[1]*centerdist, 0.5 * (self.box1.center[1] + self.box2.center[1]) + tangent[0]*centerdist) --- 140,144 ---- else: radius = abs(0.5 * (bulge + 0.25 * distance**2 / bulge)) ! centerdist = sign1(bulge) * (radius - abs(bulge)) center = (0.5 * (self.box1.center[0] + self.box2.center[0]) - tangent[1]*centerdist, 0.5 * (self.box1.center[1] + self.box2.center[1]) + tangent[0]*centerdist) ```