int ray_sphere_intersect(const Eigen::PlainObjectBase< Derivedo > &o, const Eigen::PlainObjectBase< Derivedd > &d, const Eigen::PlainObjectBase< Derivedc > &c, r_type r, t_type &t0, t_type &t1)
Compute the intersection between a ray from O in direction D and a sphere centered at C with radius r...