Initializer list experiment
This commit is contained in:
@@ -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};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user