Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/eye.py
diff options
context:
space:
mode:
Diffstat (limited to 'eye.py')
-rw-r--r--eye.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/eye.py b/eye.py
index bfa84e5..6113eb5 100644
--- a/eye.py
+++ b/eye.py
@@ -112,7 +112,7 @@ class Eye(Gtk.DrawingArea):
context.arc(rect.width / 2,
rect.height / 2,
eyeSize / 2 - outlineWidth / 2,
- 0, 360)
+ 0, 2 * math.pi)
context.fill()
# outline
@@ -126,7 +126,7 @@ class Eye(Gtk.DrawingArea):
# pupil
context.set_source_rgb(0, 0, 0)
- context.arc(pupilX, pupilY, pupilSize, 0, 360)
+ context.arc(pupilX, pupilY, pupilSize, 0, 2 * math.pi)
context.fill()
return True
@@ -183,7 +183,7 @@ class Glasses(Eye):
context.stroke()
# pupil
- context.arc(pupilX, pupilY, pupilSize, 0, 360)
+ context.arc(pupilX, pupilY, pupilSize, 0, 2 * math.pi)
context.set_source_rgb(0, 0, 0)
context.fill()