Computer Graphics, Mathematics, Linear Algebra.
- R² = 0 You might notice that this is a standard quadratic formula At² + Bt + C = 0, where: A = (d * d) B = 2d * (e - c) C = (e - c) * (e - c) - R² We can now use the quadratic formula to discover the missing value, t. Now that we have all variables, we can compute the hit point with f(p(t)) = 0.