]> Dogcows Code - chaz/yoink/blobdiff - src/moof/line.hh
fixes for newer versions of g++
[chaz/yoink] / src / moof / line.hh
index b40e7cf8c7c8190c9bb59ef5c8d566cda17edc65..35ebf29199afbfa78ef6329fd611f334428892c0 100644 (file)
@@ -138,7 +138,7 @@ struct line : public drawable, public shape<D>
        }
 
 
-       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<D>
 
        polygon() {}
 
-       bool intersect_ray(const ray<D>& ray, typename ray<D>::contact& hit)
+       bool intersect_ray(const ray<D>& ray,
+                                          typename moof::ray<D>::contact& hit)
        {
                return false;
        }
This page took 0.022969 seconds and 4 git commands to generate.