Added VCC build

This commit is contained in:
Julian Nießner
2018-05-02 15:04:16 +02:00
parent 72873931b6
commit f923cc7881
2079 changed files with 686812 additions and 448 deletions

View File

@@ -0,0 +1,31 @@
#include <glm/glm.hpp>
#if GLM_HAS_ALIGNED_TYPE
struct vec2;
struct _swizzle
{
char _buffer[1];
};
struct vec2
{
GLM_CONSTEXPR_CTOR 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;
}