Rename parameters
This commit is contained in:
parent
2e211194c8
commit
6a223e5f93
@ -850,9 +850,9 @@ def _line_t_of_pt(s, e, pt):
|
||||
return -1
|
||||
|
||||
|
||||
def _both_points_are_on_same_side_of_origin(a, b, c):
|
||||
xDiff = (a[0] - c[0]) * (b[0] - c[0])
|
||||
yDiff = (a[1] - c[1]) * (b[1] - c[1])
|
||||
def _both_points_are_on_same_side_of_origin(a, b, origin):
|
||||
xDiff = (a[0] - origin[0]) * (b[0] - origin[0])
|
||||
yDiff = (a[1] - origin[1]) * (b[1] - origin[1])
|
||||
return not (xDiff <= 0.0 and yDiff <= 0.0)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user