Missing constant added.

This commit is contained in:
2006-07-13 13:41:26 +00:00
parent 3503ad47dc
commit f1eed11ad7

View File

@@ -182,7 +182,7 @@ def convexHull(point_list_2d):
# Concatenate both halfs and return.
return [p[1] for ls in (upper, lower) for p in ls]
SMALL_NUM = 0.000001
def lineIntersect2D(v1a, v1b, v2a, v2b):
'''
Do 2 lines intersect, if so where.
@@ -265,4 +265,3 @@ def lineIntersect2D(v1a, v1b, v2a, v2b):
else:
return None, 300