aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/EPrimitiveTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/EPrimitiveTypes.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/EPrimitiveTypes.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/EPrimitiveTypes.h b/src/others/irrlicht-1.8.1/include/EPrimitiveTypes.h
new file mode 100644
index 0000000..6b082c1
--- /dev/null
+++ b/src/others/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
8namespace irr
9{
10namespace 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