]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Cullable.hh
improved new vorbisfile compatibility
[chaz/yoink] / src / Moof / Cullable.hh
index 34a09b6a7ec3889d329a8053e5cec12868146525..64b43eb03197c5ec0a76ff20ee52507def0af81f 100644 (file)
 #ifndef _MOOF_CULLABLE_HH_
 #define _MOOF_CULLABLE_HH_
 
-#include <Moof/Camera.hh>
-
 
 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;
        }
 };
This page took 0.019468 seconds and 4 git commands to generate.