X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCullable.hh;fp=src%2Fcullable.hh;h=d543d0f07ecc040f6b744a00fcbb50ee5e16a024;hp=e4fe4ca7f292ee408c37f350c76a6acee31e8b9c;hb=c2321281bf12a7efaedde930422c7ddbc92080d4;hpb=87bc17e55b0c1dc73ecc66df856d3f08fd7a7724 diff --git a/src/cullable.hh b/src/Moof/Cullable.hh similarity index 84% rename from src/cullable.hh rename to src/Moof/Cullable.hh index e4fe4ca..d543d0f 100644 --- a/src/cullable.hh +++ b/src/Moof/Cullable.hh @@ -26,29 +26,30 @@ *******************************************************************************/ -#ifndef _CULLABLE_HH_ -#define _CULLABLE_HH_ +#ifndef _MOOF_CULLABLE_HH_ +#define _MOOF_CULLABLE_HH_ -#include "camera.hh" +#include -namespace dc { +namespace Mf { /** - * Interface for anything that can be culled given a camera's frustrum. + * Interface for anything that can be culled. This can include more than just + * frustrum culling. */ -class cullable +class Cullable { public: - virtual bool isVisible(const camera& cam) = 0; + virtual bool isVisible(const Camera& cam) = 0; }; -} // namespace dc +} // namespace Mf -#endif // _CULLABLE_HH_ +#endif // _MOOF_CULLABLE_HH_ /** vim: set ts=4 sw=4 tw=80: *************************************************/