X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;h=64b43eb03197c5ec0a76ff20ee52507def0af81f;hp=b25840e880688a834d0d9328223f04451802fdaf;hb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;hpb=df541170776dc4ac4f241ca480812bd70bcb6eca diff --git a/src/Moof/Cullable.hh b/src/Moof/Cullable.hh index b25840e..64b43eb 100644 --- a/src/Moof/Cullable.hh +++ b/src/Moof/Cullable.hh @@ -33,7 +33,7 @@ namespace Mf { -class Camera; +class Frustum; /** * Interface for anything that can be culled. @@ -42,10 +42,11 @@ class Camera; class Cullable { public: - inline virtual ~Cullable() {} + virtual ~Cullable() {} - inline virtual bool isVisible(const Camera& cam) const + virtual bool isVisible(const Frustum& frustum) const { + // unless determined otherwise, assume visible return true; } };