Fixed Visual C++ internal error when declaring a global vec type with siwzzle expression enabled #594

This commit is contained in:
Christophe Riccio
2017-01-04 23:56:47 +01:00
parent 2dda5af72c
commit 4e267b1b4f
14 changed files with 114 additions and 94 deletions

View File

@@ -3,6 +3,9 @@
#include <glm/gtc/vec1.hpp>
#include <vector>
static glm::vec1 v1;
static glm::vec1 v2(1);
int test_vec1_operators()
{
int Error(0);

View File

@@ -6,6 +6,10 @@
# include <type_traits>
#endif
static glm::vec2 v1;
static glm::vec2 v2(1);
static glm::vec2 v3(1, 1);
int test_vec2_operators()
{
int Error = 0;

View File

@@ -7,6 +7,10 @@
#include <cstdio>
#include <vector>
static glm::vec3 v1;
static glm::vec3 v2(1);
static glm::vec3 v3(1, 1, 1);
int test_vec3_ctor()
{
int Error = 0;

View File

@@ -8,6 +8,10 @@
#include <ctime>
#include <vector>
static glm::vec4 v1;
static glm::vec4 v2(1);
static glm::vec4 v3(1, 1, 1, 1);
template <int Value>
struct mask
{