From a298e820c6866814c1e0b68d6664573e34a0e6af Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sun, 14 Mar 2010 13:01:20 -0600 Subject: [PATCH] fixed aabb static class problem --- src/Moof/Aabb.cc | 2 +- src/Moof/Aabb.hh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 { -- 2.45.2