}
// a ray inside the sphere will not intersect on its way out
- bool intersect(const ray<D>& ray, typename ray<D>::contact& hit) const
+ bool intersect(const ray<D>& ray,
+ typename moof::ray<D>::contact& hit) const
{
vector b = point - ray.point;
scalar z = dot(b, ray.direction);