From: Charles McGarvey Date: Sun, 14 Mar 2010 19:01:20 +0000 (-0600) Subject: fixed aabb static class problem X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a298e820c6866814c1e0b68d6664573e34a0e6af;p=chaz%2Fyoink fixed aabb static class problem --- diff --git a/src/Moof/Aabb.cc b/src/Moof/Aabb.cc index 125e9d1..16dd841 100644 --- a/src/Moof/Aabb.cc +++ b/src/Moof/Aabb.cc @@ -16,7 +16,7 @@ namespace Mf { -void Aabb::importClass(Script& script) +void importAabbClass(Script& script) { } diff --git a/src/Moof/Aabb.hh b/src/Moof/Aabb.hh index e510ce3..d3229bc 100644 --- a/src/Moof/Aabb.hh +++ b/src/Moof/Aabb.hh @@ -215,12 +215,11 @@ struct Aabb : public Cullable, public Drawable, public Shape { return true; } - - - static void importClass(Script& script); }; +void importAabbClass(Script& script); + template <> inline void Aabb<3>::draw(Scalar alpha) const {