fdo#66180 librelogo: clockwise HEADING
Change-Id: I1154b29119fd3fbb30d50246e94b3906bea24220
This commit is contained in:
parent
397c95b49d
commit
ee311c55c9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue