diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2012-11-23 15:22:23 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2012-11-23 15:22:23 (GMT) |
commit | 5b8362fec51d2c56b7c75e94c144ccc63cfa141d (patch) | |
tree | 162687a796bea8b555e3fa3cbb5de74637878401 | |
parent | 1abfd34088c15e16b61357211581d7298953b314 (diff) |
adding math.pi to increase performance
-rw-r--r-- | glasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ class Glasses(Eye): self.context.stroke() # pupil - self.context.arc(pupilX, pupilY, pupilSize, 0, 360) + self.context.arc(pupilX, pupilY, pupilSize, 0, 2*math.pi) self.context.set_source_rgb(0, 0, 0) self.context.fill() |