Testing curve surface usage case

This commit is contained in:
2024-04-26 23:11:00 +02:00
parent 4f19a90048
commit a5714343e7
3 changed files with 62 additions and 14 deletions

View File

@@ -54,8 +54,7 @@ def orthogonal(origin, point, distance, normal=np.array([0, 1, 0])):
print(origin, point, distance)
raise ValueError("The input vectors are not linearly independent.")
orthogonal = np.round(
np.add(np.multiply(orthogonal, distance), origin)).astype(int)
orthogonal = np.add(np.multiply(orthogonal, distance), origin).astype(int)
return orthogonal