Electronic Arts interview question

Asked me to write a ray vs sphere intersection test.

Interview Answer

Anonymous

1 Mar 2020

Vector math, so basically dot products, equation of line, distance of 2 points and sine.