]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Cullable.hh
revamped scene drawing in preparation for octree
[chaz/yoink] / src / Moof / Cullable.hh
index 34a09b6a7ec3889d329a8053e5cec12868146525..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.
  */
@@ -42,7 +42,9 @@ namespace Mf {
 class Cullable
 {
 public:
-       virtual bool isVisible(const Camera& cam) const
+       inline virtual ~Cullable() {}
+
+       inline virtual bool isVisible(const Camera& cam) const
        {
                return true;
        }
This page took 0.016112 seconds and 4 git commands to generate.