diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/include/ECullingTypes.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/ECullingTypes.h b/libraries/irrlicht-1.8.1/include/ECullingTypes.h new file mode 100644 index 0000000..4a562a4 --- /dev/null +++ b/libraries/irrlicht-1.8.1/include/ECullingTypes.h | |||
@@ -0,0 +1,41 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | ||
2 | // This file is part of the "Irrlicht Engine". | ||
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | ||
4 | |||
5 | #ifndef __E_CULLING_TYPES_H_INCLUDED__ | ||
6 | #define __E_CULLING_TYPES_H_INCLUDED__ | ||
7 | |||
8 | #include "irrTypes.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | namespace scene | ||
13 | { | ||
14 | |||
15 | //! An enumeration for all types of automatic culling for built-in scene nodes | ||
16 | enum E_CULLING_TYPE | ||
17 | { | ||
18 | EAC_OFF = 0, | ||
19 | EAC_BOX = 1, | ||
20 | EAC_FRUSTUM_BOX = 2, | ||
21 | EAC_FRUSTUM_SPHERE = 4, | ||
22 | EAC_OCC_QUERY = 8 | ||
23 | }; | ||
24 | |||
25 | //! Names for culling type | ||
26 | const c8* const AutomaticCullingNames[] = | ||
27 | { | ||
28 | "false", | ||
29 | "box", // camera box against node box | ||
30 | "frustum_box", // camera frustum against node box | ||
31 | "frustum_sphere", // camera frustum against node sphere | ||
32 | "occ_query", // occlusion query | ||
33 | 0 | ||
34 | }; | ||
35 | |||
36 | } // end namespace scene | ||
37 | } // end namespace irr | ||
38 | |||
39 | |||
40 | #endif // __E_CULLING_TYPES_H_INCLUDED__ | ||
41 | |||