Added assert for initilizer lists to match sizes

This commit is contained in:
Christophe Riccio
2013-10-05 21:03:53 +02:00
parent eb59cb9af6
commit 4acd5b087d
11 changed files with 86 additions and 68 deletions

View File

@@ -54,8 +54,8 @@ int test_ctr()
Error += glm::all(glm::equal(m1[i], m2[i])) ? 0 : 1;
std::vector<glm::mat3x2> v1{
{0, 1, 2, 3, 4, 5, 6, 7, 8},
{0, 1, 2, 3, 4, 5, 6, 7, 8}
{0, 1, 2, 3, 4, 5},
{0, 1, 2, 3, 4, 5}
};
std::vector<glm::mat3x2> v2{