/*] Copyright (c) 2009-2011, Charles McGarvey [***************************** **] All rights reserved. * * Distributable under the terms and conditions of the 2-clause BSD license; * see the file COPYING for a complete text of the license. * *****************************************************************************/ #ifndef _MOOF_CULLABLE_HH_ #define _MOOF_CULLABLE_HH_ /** * \file cullable.hh * Representation for an object that may or may not be visible. */ namespace moof { // forward declarations class frustum; /** * Interface for anything that can be culled. */ class cullable { public: virtual ~cullable() {} virtual bool is_visible(const frustum& frustum) const { // unless determined otherwise, assume visible return true; } }; } // namespace moof #endif // _MOOF_CULLABLE_HH_