is_equal -> is_colinear

This commit is contained in:
2020-11-15 18:56:13 +04:00
parent b7475a44f2
commit 36ce94d3de
2 changed files with 4 additions and 5 deletions

View File

@ -76,7 +76,7 @@ class SeparatingAxisTheorem:
def add_if_not_exists(normal):
for existing in normals:
if is_equal(*existing, *normal):
if is_colinear(*existing, *normal):
return
normals.append(normal)