aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/EPrimitiveTypes.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:24:39 +1000
committerDavid Walter Seikel2013-01-13 17:24:39 +1000
commit393b5cd1dc438872af89d334ef6e5fcc59f27d47 (patch)
tree6a14521219942a08a1b95cb2f5a923a9edd60f63 /libraries/irrlicht-1.8/include/EPrimitiveTypes.h
parentAdd a note about rasters suggested start up code. (diff)
downloadSledjHamr-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 '')
-rw-r--r--libraries/irrlicht-1.8/include/EPrimitiveTypes.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/include/EPrimitiveTypes.h b/libraries/irrlicht-1.8/include/EPrimitiveTypes.h
new file mode 100644
index 0000000..6b082c1
--- /dev/null
+++ b/libraries/irrlicht-1.8/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