]> Dogcows Code - chaz/yoink/blob - src/Moof/Cullable.hh
removed logging from script to fix compile error
[chaz/yoink] / src / Moof / Cullable.hh
1
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
4 *
5 * vi:ts=4 sw=4 tw=75
6 *
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
9 *
10 **************************************************************************/
11
12 #ifndef _MOOF_CULLABLE_HH_
13 #define _MOOF_CULLABLE_HH_
14
15
16 namespace Mf {
17
18
19 class Frustum;
20
21 /**
22 * Interface for anything that can be culled.
23 */
24
25 class Cullable
26 {
27 public:
28 virtual ~Cullable() {}
29
30 virtual bool isVisible(const Frustum& frustum) const
31 {
32 // unless determined otherwise, assume visible
33 return true;
34 }
35 };
36
37
38 } // namespace Mf
39
40 #endif // _MOOF_CULLABLE_HH_
41
This page took 0.032937 seconds and 4 git commands to generate.