X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FFrustum.hh;fp=src%2FMoof%2FFrustum.hh;h=406e2304895db75ea5c519e6e8ec1a0a6685f799;hp=c708c065bd79209cfcf0a17fa51e533cceb43de8;hb=2d77fb5fb3480f522658f30af6addd5146530517;hpb=64e3c3202d2c1956759fb4da36ca329816c9369a diff --git a/src/Moof/Frustum.hh b/src/Moof/Frustum.hh index c708c06..406e230 100644 --- a/src/Moof/Frustum.hh +++ b/src/Moof/Frustum.hh @@ -36,8 +36,8 @@ namespace Mf { -class Aabb; -class Sphere; +template class Aabb; +template 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; };