Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
public_types.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004 Tanguy Fautr�.
3 // For conditions of distribution and use,
4 // see copyright notice in tri_stripper.h
5 //
7 // SVN: $Id: public_types.h 86 2005-06-08 17:47:27Z gpsnoopy $
9 
10 #ifndef TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
11 #define TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
12 
13 #include <vector>
14 
15 
16 
17 
18 namespace triangle_stripper
19 {
20 
21  typedef unsigned int index;
22  typedef std::vector<index> indices;
23 
25  {
26  TRIANGLES = 0x0004, // = GL_TRIANGLES
27  TRIANGLE_STRIP = 0x0005 // = GL_TRIANGLE_STRIP
28  };
29 
31  {
32  indices Indices;
34  };
35 
36  typedef std::vector<primitive_group> primitive_vector;
37 
38 }
39 
40 
41 
42 
43 #endif // TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
std::vector< primitive_group > primitive_vector
Definition: public_types.h:36
std::vector< index > indices
Definition: public_types.h:22
unsigned int index
Definition: public_types.h:21