Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Sep 15, 2024
1 parent 66c4557 commit 71ca0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coloraide/gamut/fit_raytrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def project_onto(a: Vector, b: Vector, o: Vector) -> Vector:
vec_ob = [b[0] - ox, b[1] - oy, b[2] - oz]
# Project `vec_oa` onto `vec_ob` and convert back to a point
r = alg.vdot(vec_oa, vec_ob) / alg.vdot(vec_ob, vec_ob)
# Some spaces may be project something that exceeds the range of our target vector.
# Some spaces may project something that exceeds the range of our target vector.
if r > 1.0:
r = 1.0
elif r < 0.0: # pragma: no cover
Expand Down

0 comments on commit 71ca0a1

Please sign in to comment.