projects
/
cascardo
/
movie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1e11e
)
fixing a little bug in Point.pythagorean
author
Lincoln de Sousa
<lincoln@minaslivre.org>
Tue, 12 Aug 2008 18:45:39 +0000
(15:45 -0300)
committer
Lincoln de Sousa
<lincoln@minaslivre.org>
Tue, 12 Aug 2008 18:45:39 +0000
(15:45 -0300)
gzv.py
patch
|
blob
|
history
diff --git
a/gzv.py
b/gzv.py
index
6c0d4dc
..
ca94af9
100644
(file)
--- 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 - p
2
.y)**2)
+ return math.sqrt((p2.x - p1.x)**2 + (p2.y - p
1
.y)**2)
class Ball(object):
DEFAULT_WIDTH = 10