X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;h=b25840e880688a834d0d9328223f04451802fdaf;hp=34a09b6a7ec3889d329a8053e5cec12868146525;hb=493ddb59a8620b49dfa0ff62ce93395ebfd02e86;hpb=bc5448947f45c0ba4d22b5ad736b7c545d8ec075 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; }