From: Lincoln de Sousa Date: Tue, 12 Aug 2008 18:45:39 +0000 (-0300) Subject: fixing a little bug in Point.pythagorean X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fmovie.git;a=commitdiff_plain;h=7c88a521007395559dff443beec71f4c1fcc28c2 fixing a little bug in Point.pythagorean --- diff --git a/gzv.py b/gzv.py index 6c0d4dc..ca94af9 100644 --- a/gzv.py +++ b/gzv.py @@ -30,7 +30,7 @@ class Point(object): @staticmethod def pythagorean(p1, p2): - return math.sqrt((p2.x - p1.x)**2 + (p2.y - p2.y)**2) + return math.sqrt((p2.x - p1.x)**2 + (p2.y - p1.y)**2) class Ball(object): DEFAULT_WIDTH = 10