]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Cullable.hh
refactoring the scene class
[chaz/yoink] / src / Moof / Cullable.hh
index b25840e880688a834d0d9328223f04451802fdaf..64b43eb03197c5ec0a76ff20ee52507def0af81f 100644 (file)
@@ -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;
        }
 };
This page took 0.019899 seconds and 4 git commands to generate.