Lines Matching refs:mat4
33 mat4 m0; in TEST_F()
34 EXPECT_EQ(sizeof(mat4), sizeof(float)*16); in TEST_F()
38 mat4 m0; in TEST_F()
39 mat4 m1(2); in TEST_F()
48 mat4 m0; in TEST_F()
66 mat4 m1(2); in TEST_F()
67 mat4 m2(vec4(2)); in TEST_F()
68 mat4 m3(m2); in TEST_F()
74 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4)); in TEST_F()
78 mat4 m0; in TEST_F()
79 mat4 m1(2); in TEST_F()
80 mat4 m2(vec4(2)); in TEST_F()
83 EXPECT_EQ(mat4(4), m1); in TEST_F()
86 EXPECT_EQ(mat4(-2), m2); in TEST_F()
89 EXPECT_EQ(mat4(8), m1); in TEST_F()
92 EXPECT_EQ(mat4(4), m1); in TEST_F()
95 EXPECT_EQ(mat4(-1), m0); in TEST_F()
99 const mat4 identity; in TEST_F()
100 mat4 m0; in TEST_F()
103 EXPECT_EQ(mat4( vec4(2,1,1,1), vec4(1,2,1,1), vec4(1,1,2,1), vec4(1,1,1,2) ), m0); in TEST_F()
104 EXPECT_EQ(mat4( -vec4(2,1,1,1), -vec4(1,2,1,1), -vec4(1,1,2,1), -vec4(1,1,1,2) ), -m0); in TEST_F()
111 const mat4 identity; in TEST_F()
112 mat4 m0; in TEST_F()
115 mat4 m1(vec4(1,2,3,4), vec4(5,6,7,8), vec4(9,10,11,12), vec4(13,14,15,16)); in TEST_F()
116 mat4 m2(vec4(1,5,9,13), vec4(2,6,10,14), vec4(3,7,11,15), vec4(4,8,12,16)); in TEST_F()
123 mat4 m3(vec4(4,3,0,0), vec4(3,2,0,0), vec4(0,0,1,0), vec4(0,0,0,1)); in TEST_F()
124 mat4 m3i(inverse(m3)); in TEST_F()
130 mat4 m3ii(inverse(m3i)); in TEST_F()