03/26/2002
15-462 Graphics I
14
Ray-Sphere Intersection II
•
Simplify to
•
•
•
•
•
•
Solve to obtain t
0
and t
1
where
Check if t
0
, t
1
> 0 (ray)
Return min(t
0
, t
1
)