X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fsphere.hh;h=cf1bba772316057ca7e625ab0f1b99ed976151f1;hp=dd4decec8d4224c16945467b820118a9ecdd4d4f;hb=51069fee9139ab8d14ecc80dffbe5deecb73d9e0;hpb=831f04d4bc19a390415ac0bbac4331c7a65509bc diff --git a/src/moof/sphere.hh b/src/moof/sphere.hh index dd4dece..cf1bba7 100644 --- a/src/moof/sphere.hh +++ b/src/moof/sphere.hh @@ -109,7 +109,8 @@ struct sphere : public cullable, public drawable, public shape } // a ray inside the sphere will not intersect on its way out - bool intersect(const ray& ray, typename ray::contact& hit) const + bool intersect(const ray& ray, + typename moof::ray::contact& hit) const { vector b = point - ray.point; scalar z = dot(b, ray.direction);