]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Frustum.hh
cade lab fixes
[chaz/yoink] / src / Moof / Frustum.hh
index c708c065bd79209cfcf0a17fa51e533cceb43de8..406e2304895db75ea5c519e6e8ec1a0a6685f799 100644 (file)
@@ -36,8 +36,8 @@
 namespace Mf {
 
 
-class Aabb;
-class Sphere;
+template <int D> class Aabb;
+template <int D> class Sphere;
 
 class Frustum
 {
@@ -66,8 +66,8 @@ public:
        void init(const Matrix4& modelview, Scalar fovy, Scalar aspect,
                        Scalar abutting, Scalar distant);
 
-       Collision contains(const Aabb& aabb) const;
-       Collision contains(const Sphere& sphere) const;
+       Collision contains(const Aabb<3>& aabb) const;
+       Collision contains(const Sphere<3>& sphere) const;
 };
 
 
This page took 0.018409 seconds and 4 git commands to generate.