diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/EPrimitiveTypes.h | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/include/EPrimitiveTypes.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/EPrimitiveTypes.h b/libraries/irrlicht-1.8.1/include/EPrimitiveTypes.h new file mode 100644 index 0000000..6b082c1 --- /dev/null +++ b/libraries/irrlicht-1.8.1/include/EPrimitiveTypes.h | |||
@@ -0,0 +1,56 @@ | |||
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_PRIMITIVE_TYPES_H_INCLUDED__ | ||
6 | #define __E_PRIMITIVE_TYPES_H_INCLUDED__ | ||
7 | |||
8 | namespace irr | ||
9 | { | ||
10 | namespace scene | ||
11 | { | ||
12 | |||
13 | //! Enumeration for all primitive types there are. | ||
14 | enum E_PRIMITIVE_TYPE | ||
15 | { | ||
16 | //! All vertices are non-connected points. | ||
17 | EPT_POINTS=0, | ||
18 | |||
19 | //! All vertices form a single connected line. | ||
20 | EPT_LINE_STRIP, | ||
21 | |||
22 | //! Just as LINE_STRIP, but the last and the first vertex is also connected. | ||
23 | EPT_LINE_LOOP, | ||
24 | |||
25 | //! Every two vertices are connected creating n/2 lines. | ||
26 | EPT_LINES, | ||
27 | |||
28 | //! After the first two vertices each vertex defines a new triangle. | ||
29 | //! Always the two last and the new one form a new triangle. | ||
30 | EPT_TRIANGLE_STRIP, | ||
31 | |||
32 | //! After the first two vertices each vertex defines a new triangle. | ||
33 | //! All around the common first vertex. | ||
34 | EPT_TRIANGLE_FAN, | ||
35 | |||
36 | //! Explicitly set all vertices for each triangle. | ||
37 | EPT_TRIANGLES, | ||
38 | |||
39 | //! After the first two vertices each further tw vetices create a quad with the preceding two. | ||
40 | EPT_QUAD_STRIP, | ||
41 | |||
42 | //! Every four vertices create a quad. | ||
43 | EPT_QUADS, | ||
44 | |||
45 | //! Just as LINE_LOOP, but filled. | ||
46 | EPT_POLYGON, | ||
47 | |||
48 | //! The single vertices are expanded to quad billboards on the GPU. | ||
49 | EPT_POINT_SPRITES | ||
50 | }; | ||
51 | |||
52 | } // end namespace scene | ||
53 | } // end namespace irr | ||
54 | |||
55 | #endif | ||
56 | |||