namespace Mf {
-class Camera;
+class Frustum;
/**
* Interface for anything that can be culled.
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;
}
};