Update glm

This commit is contained in:
KimLS
2018-12-21 00:39:28 -08:00
parent 18fa53e09b
commit d3aa74ff54
1530 changed files with 210837 additions and 28547 deletions
+31
View File
@@ -0,0 +1,31 @@
#include <glm/glm.hpp>
#if GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE
struct vec2;
struct _swizzle
{
char _buffer[1];
};
struct vec2
{
GLM_CONSTEXPR vec2() :
x(0), y(0)
{}
union
{
struct { float x, y; };
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;
int main()
{
return 0;
}