Pregunta de entrevista de Rockstar Games

Find the intersection of a ray with a triangle.