From Mathias Froehlich, build fix for gcc 4.6
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#define TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
|
||||
|
||||
#include <vector>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
|
||||
@@ -18,22 +19,22 @@
|
||||
namespace triangle_stripper
|
||||
{
|
||||
|
||||
typedef size_t index;
|
||||
typedef std::vector<index> indices;
|
||||
typedef size_t index;
|
||||
typedef std::vector<index> indices;
|
||||
|
||||
enum primitive_type
|
||||
{
|
||||
TRIANGLES = 0x0004, // = GL_TRIANGLES
|
||||
TRIANGLE_STRIP = 0x0005 // = GL_TRIANGLE_STRIP
|
||||
};
|
||||
enum primitive_type
|
||||
{
|
||||
TRIANGLES = 0x0004, // = GL_TRIANGLES
|
||||
TRIANGLE_STRIP = 0x0005 // = GL_TRIANGLE_STRIP
|
||||
};
|
||||
|
||||
struct primitive_group
|
||||
{
|
||||
indices Indices;
|
||||
primitive_type Type;
|
||||
};
|
||||
struct primitive_group
|
||||
{
|
||||
indices Indices;
|
||||
primitive_type Type;
|
||||
};
|
||||
|
||||
typedef std::vector<primitive_group> primitive_vector;
|
||||
typedef std::vector<primitive_group> primitive_vector;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user