#ifndef _MOOF_CULLABLE_HH_
#define _MOOF_CULLABLE_HH_
-#include <Moof/Camera.hh>
-
namespace Mf {
+class Frustum;
+
/**
* Interface for anything that can be culled.
*/
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;
}
};