# Intersection with a sphere

## Question: what are the intersection points?

## Plug in the parameteric ray equation into the sphere equation. Sphere equation can be written as(a-q)2=r2, where a is the center and q is a point on the sphere.

## Solutions of this equation, if any, are the values of parameter t for the intersection points.