Computer Graphics, Mathematics, Linear Algebra.
object. There is Ray-Sphere intersection, Ray-Cube intersection, etc. Each has their own specific formulas. For this example, we will compute Ray-Sphere intersection. We need to find the function f(p(t)) = 0 or f(e + td) = 0 so that we can calculate the hit point of our ray on our sphere. In order