Adding libraries and dependencies for easy portability

This commit is contained in:
onTheZero
2024-10-06 17:03:35 -04:00
parent 85bdd1b16b
commit 0c0981e60c
1677 changed files with 302205 additions and 2 deletions

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;
}