rebase onto master
This commit is contained in:
@@ -10,7 +10,7 @@ def intersect(A, B, C, D):
|
||||
|
||||
|
||||
def check_self_collision(line_points):
|
||||
"""Checks whether line segments and intersect"""
|
||||
"""Checks whether line segments intersect"""
|
||||
for i, line1 in enumerate(line_points):
|
||||
for line2 in line_points[i + 2:, :, :]:
|
||||
if intersect(line1[0], line1[-1], line2[0], line2[-1]):
|
||||
|
||||
Reference in New Issue
Block a user