]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Plane.hh
game loop tweaks; shapes hierarchy defined
[chaz/yoink] / src / Moof / Plane.hh
index 262a6bd281bfb796eb1832b3f2e68c54761e0dd4..108c49f95e891dcf8d5c23c26eba8289acb3a8a6 100644 (file)
@@ -49,7 +49,7 @@ struct Plane : public Shape<3>
                d(scalar) {}
 
 
-       bool intersectRay(const Ray<3>& ray, Ray<3>::Intersection& hit)
+       bool intersectRay(const Ray<3>& ray, Ray<3>::Contact& hit)
        {
                // solve: [(ray.point + t*ray.direction) dot normal] + d = 0
 
This page took 0.019599 seconds and 4 git commands to generate.