]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Cullable.hh
revamped scene drawing in preparation for octree
[chaz/yoink] / src / Moof / Cullable.hh
index d543d0f07ecc040f6b744a00fcbb50ee5e16a024..b25840e880688a834d0d9328223f04451802fdaf 100644 (file)
 #ifndef _MOOF_CULLABLE_HH_
 #define _MOOF_CULLABLE_HH_
 
-#include <Moof/Camera.hh>
-
 
 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;
+       }
 };
 
 
This page took 0.016573 seconds and 4 git commands to generate.