#ifndef _MOOF_CULLABLE_HH_
#define _MOOF_CULLABLE_HH_
-#include <Moof/Camera.hh>
-
namespace Mf {
+class Frustum;
+
/**
- * 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;
+ virtual ~Cullable() {}
+
+ virtual bool isVisible(const Frustum& frustum) const
+ {
+ // unless determined otherwise, assume visible
+ return true;
+ }
};