X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;h=64b43eb03197c5ec0a76ff20ee52507def0af81f;hp=34a09b6a7ec3889d329a8053e5cec12868146525;hb=7e898e8ec0ff716e2fc722b883a626a6c346f107;hpb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539 diff --git a/src/Moof/Cullable.hh b/src/Moof/Cullable.hh index 34a09b6..64b43eb 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 Frustum; + /** * Interface for anything that can be culled. */ @@ -42,8 +42,11 @@ namespace Mf { class Cullable { public: - virtual bool isVisible(const Camera& cam) const + virtual ~Cullable() {} + + virtual bool isVisible(const Frustum& frustum) const { + // unless determined otherwise, assume visible return true; } };