Fixed build

This commit is contained in:
Christophe Riccio
2017-01-07 12:49:45 +01:00
parent 41cf89516e
commit f5ab820ffe
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
#include <glm/glm.hpp>
#if GLM_HAS_ALIGNED_TYPE
struct vec2;
struct _swizzle
@@ -7,7 +10,7 @@ struct _swizzle
struct vec2
{
constexpr vec2() :
GLM_CONSTEXPR_CTOR vec2() :
x(0), y(0)
{}
@@ -17,6 +20,7 @@ struct vec2
struct { _swizzle xx; };
};
};
#endif
// Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler.
// vec2 Bar;