diff options
author | David Walter Seikel | 2013-01-13 17:24:39 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:24:39 +1000 |
commit | 393b5cd1dc438872af89d334ef6e5fcc59f27d47 (patch) | |
tree | 6a14521219942a08a1b95cb2f5a923a9edd60f63 /libraries/irrlicht-1.8/include/ECullingTypes.h | |
parent | Add a note about rasters suggested start up code. (diff) | |
download | SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.zip SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.gz SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.bz2 SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.xz |
Added Irrlicht 1.8, but without all the Windows binaries.
Diffstat (limited to 'libraries/irrlicht-1.8/include/ECullingTypes.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/ECullingTypes.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/include/ECullingTypes.h b/libraries/irrlicht-1.8/include/ECullingTypes.h new file mode 100644 index 0000000..4a562a4 --- /dev/null +++ b/libraries/irrlicht-1.8/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 | |||