X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;h=b25840e880688a834d0d9328223f04451802fdaf;hp=34a09b6a7ec3889d329a8053e5cec12868146525;hb=f72400af4fa3e7b54dab154b5a2b6503a6f9af18;hpb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539 diff --git a/src/Moof/Cullable.hh b/src/Moof/Cullable.hh index 34a09b6..b25840e 100644 --- a/src/Moof/Cullable.hh +++ b/src/Moof/Cullable.hh @@ -29,12 +29,12 @@ #ifndef _MOOF_CULLABLE_HH_ #define _MOOF_CULLABLE_HH_ -#include - namespace Mf { +class Camera; + /** * Interface for anything that can be culled. */ @@ -42,7 +42,9 @@ namespace Mf { class Cullable { public: - virtual bool isVisible(const Camera& cam) const + inline virtual ~Cullable() {} + + inline virtual bool isVisible(const Camera& cam) const { return true; }