#include "igl_inline.h"
#include <Eigen/Core>
#include "ray_sphere_intersect.cpp"
Go to the source code of this file.
|
template<typename Derivedo , typename Derivedd , typename Derivedc , typename r_type , typename t_type > |
int | igl::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.
|
|