fdo#66180 librelogo: clockwise HEADING

Change-Id: I1154b29119fd3fbb30d50246e94b3906bea24220
This commit is contained in:
László Németh 2013-06-26 02:00:51 +02:00
parent 397c95b49d
commit ee311c55c9

View file

@ -722,7 +722,7 @@ def turnright(deg):
def heading(deg = -1, go = False):
turtle = __getshape__(__TURTLE__)
if deg == -1:
return turtle.RotateAngle / 100
return -turtle.RotateAngle / 100 + 360
else:
if deg == u'any':
turtle.RotateAngle = random.random() * 36000