A program to calculate the point(s) of intersection of a vector/ray with a sphere
Inputs
- x, y, z coordinates of the first point on the line
- x, y, z coordinates of the second point on the line
- x, y, z coordinates of the sphere center and 'radius' of the sphere
Output
- x, y, z coordinates of the intersecting point(s)