Computer Graphics, Python, Mathematics, Game Development, Game Design.
We say “ray” but that’s really just another word for “line”. In general, whenever you code something that is geometrical, you should prefer vectors over actual line equations, they really are easier to work with and are much less prone to errors such as division by zero. So, since the ray starts at