Initializer list experiment

This commit is contained in:
Christophe Riccio
2013-09-30 02:36:04 +02:00
parent b51fe09cb9
commit 812ff4fcc8
2 changed files with 14 additions and 13 deletions

View File

@@ -131,17 +131,18 @@ int test_ctr()
glm::mat4 m1{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
glm::mat4 m2{
{0, 1, 2, 3},
{4, 5, 6, 7},
{8, 9, 10, 11},
{12, 13, 14, 15}};
glm::vec4{0, 1, 2, 3},
glm::vec4{4, 5, 6, 7},
glm::vec4{8, 9, 10, 11},
glm::vec4{12, 13, 14, 15}};
/*
std::initializer_list<glm::mat4> m3{
{0, 1, 2, 3},
{4, 5, 6, 7},
{8, 9, 10, 11},
{12, 13, 14, 15}};
*/
//glm::mat4 m4{m3};
/*