X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fline.hh;h=35ebf29199afbfa78ef6329fd611f334428892c0;hp=b40e7cf8c7c8190c9bb59ef5c8d566cda17edc65;hb=85783316365181491a3e3c0c63659972477cebba;hpb=831f04d4bc19a390415ac0bbac4331c7a65509bc diff --git a/src/moof/line.hh b/src/moof/line.hh index b40e7cf..35ebf29 100644 --- a/src/moof/line.hh +++ b/src/moof/line.hh @@ -138,7 +138,7 @@ struct line : public drawable, public shape } - bool intersect_ray(const ray<2>& ray, ray<2>::contact& hit) const + bool intersect_ray(const ray<2>& ray, moof::ray<2>::contact& hit) const { vector2 v1 = a - ray.point; scalar a1 = signed_angle_2D(v1, b - ray.point); @@ -247,7 +247,8 @@ struct polygon : public drawable, public shape polygon() {} - bool intersect_ray(const ray& ray, typename ray::contact& hit) + bool intersect_ray(const ray& ray, + typename moof::ray::contact& hit) { return false; }