16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 02:09:19 +02:00

merge local branch 'mover_in_c++'

This commit is contained in:
tmj-fstate
2018-10-12 17:45:01 +02:00
parent 6f6ffddd7a
commit e801953c1d
1626 changed files with 380156 additions and 5 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;
}