X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;h=b25840e880688a834d0d9328223f04451802fdaf;hp=d543d0f07ecc040f6b744a00fcbb50ee5e16a024;hb=493ddb59a8620b49dfa0ff62ce93395ebfd02e86;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4 diff --git a/src/Moof/Cullable.hh b/src/Moof/Cullable.hh index d543d0f..b25840e 100644 --- a/src/Moof/Cullable.hh +++ b/src/Moof/Cullable.hh @@ -29,21 +29,25 @@ #ifndef _MOOF_CULLABLE_HH_ #define _MOOF_CULLABLE_HH_ -#include - namespace Mf { +class Camera; + /** - * Interface for anything that can be culled. This can include more than just - * frustrum culling. + * Interface for anything that can be culled. */ class Cullable { public: - virtual bool isVisible(const Camera& cam) = 0; + inline virtual ~Cullable() {} + + inline virtual bool isVisible(const Camera& cam) const + { + return true; + } };