Skip to content

Commit a97d835

Browse files
Fix more typos in points_are_collinear_3d.py
1 parent 2bf5a72 commit a97d835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/points_are_collinear_3d.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def get_3d_vectors_cross(ab: Vector3d, ac: Vector3d) -> Vector3d:
7676

7777
def is_zero_vector(vector: Vector3d, accuracy: int) -> bool:
7878
"""
79-
Check if vector is equal to (0, 0, 0) of not.
79+
Check if vector is equal to (0, 0, 0) or not.
8080
81-
Sine the algorithm is very accurate, we will never get a zero vector,
81+
Since the algorithm is very accurate, we will never get a zero vector,
8282
so we need to round the vector axis,
8383
because we want a result that is either True or False.
8484
In other applications, we can return a float that represents the collinearity ratio.

0 commit comments

Comments
 (0)