diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/EPrimitiveTypes.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/libraries/irrlicht-1.8/include/EPrimitiveTypes.h b/libraries/irrlicht-1.8/include/EPrimitiveTypes.h index 6b082c1..7c61d42 100644 --- a/libraries/irrlicht-1.8/include/EPrimitiveTypes.h +++ b/libraries/irrlicht-1.8/include/EPrimitiveTypes.h | |||
@@ -1,56 +1,56 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __E_PRIMITIVE_TYPES_H_INCLUDED__ | 5 | #ifndef __E_PRIMITIVE_TYPES_H_INCLUDED__ |
6 | #define __E_PRIMITIVE_TYPES_H_INCLUDED__ | 6 | #define __E_PRIMITIVE_TYPES_H_INCLUDED__ |
7 | 7 | ||
8 | namespace irr | 8 | namespace irr |
9 | { | 9 | { |
10 | namespace scene | 10 | namespace scene |
11 | { | 11 | { |
12 | 12 | ||
13 | //! Enumeration for all primitive types there are. | 13 | //! Enumeration for all primitive types there are. |
14 | enum E_PRIMITIVE_TYPE | 14 | enum E_PRIMITIVE_TYPE |
15 | { | 15 | { |
16 | //! All vertices are non-connected points. | 16 | //! All vertices are non-connected points. |
17 | EPT_POINTS=0, | 17 | EPT_POINTS=0, |
18 | 18 | ||
19 | //! All vertices form a single connected line. | 19 | //! All vertices form a single connected line. |
20 | EPT_LINE_STRIP, | 20 | EPT_LINE_STRIP, |
21 | 21 | ||
22 | //! Just as LINE_STRIP, but the last and the first vertex is also connected. | 22 | //! Just as LINE_STRIP, but the last and the first vertex is also connected. |
23 | EPT_LINE_LOOP, | 23 | EPT_LINE_LOOP, |
24 | 24 | ||
25 | //! Every two vertices are connected creating n/2 lines. | 25 | //! Every two vertices are connected creating n/2 lines. |
26 | EPT_LINES, | 26 | EPT_LINES, |
27 | 27 | ||
28 | //! After the first two vertices each vertex defines a new triangle. | 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. | 29 | //! Always the two last and the new one form a new triangle. |
30 | EPT_TRIANGLE_STRIP, | 30 | EPT_TRIANGLE_STRIP, |
31 | 31 | ||
32 | //! After the first two vertices each vertex defines a new triangle. | 32 | //! After the first two vertices each vertex defines a new triangle. |
33 | //! All around the common first vertex. | 33 | //! All around the common first vertex. |
34 | EPT_TRIANGLE_FAN, | 34 | EPT_TRIANGLE_FAN, |
35 | 35 | ||
36 | //! Explicitly set all vertices for each triangle. | 36 | //! Explicitly set all vertices for each triangle. |
37 | EPT_TRIANGLES, | 37 | EPT_TRIANGLES, |
38 | 38 | ||
39 | //! After the first two vertices each further tw vetices create a quad with the preceding two. | 39 | //! After the first two vertices each further tw vetices create a quad with the preceding two. |
40 | EPT_QUAD_STRIP, | 40 | EPT_QUAD_STRIP, |
41 | 41 | ||
42 | //! Every four vertices create a quad. | 42 | //! Every four vertices create a quad. |
43 | EPT_QUADS, | 43 | EPT_QUADS, |
44 | 44 | ||
45 | //! Just as LINE_LOOP, but filled. | 45 | //! Just as LINE_LOOP, but filled. |
46 | EPT_POLYGON, | 46 | EPT_POLYGON, |
47 | 47 | ||
48 | //! The single vertices are expanded to quad billboards on the GPU. | 48 | //! The single vertices are expanded to quad billboards on the GPU. |
49 | EPT_POINT_SPRITES | 49 | EPT_POINT_SPRITES |
50 | }; | 50 | }; |
51 | 51 | ||
52 | } // end namespace scene | 52 | } // end namespace scene |
53 | } // end namespace irr | 53 | } // end namespace irr |
54 | 54 | ||
55 | #endif | 55 | #endif |
56 | 56 | ||