glm/test/bug/bug_ms_vec_static.cpp

15 lines
160 B
C++
Raw Normal View History

2016-09-25 08:29:08 +00:00
#define GLM_FORCE_SWIZZLE
#include <glm/vec2.hpp>
struct Foo
{
static glm::vec2 Bar;
};
glm::vec2 Foo::Bar = glm::vec2(1.f, 1.f);
int main()
{
2016-09-25 08:35:30 +00:00
return 0;
2016-09-25 08:29:08 +00:00
}