Lines Matching refs:matrix
40 static bool isIdentityMatrix(mat4& matrix) { in isIdentityMatrix() argument
45 if (std::fabs(matrix[i][j] - 1.0f) > TOLERANCE) { in isIdentityMatrix()
50 if (std::fabs(matrix[i][j]) > TOLERANCE) { in isIdentityMatrix()
67 mat4 matrix = daltonizer(); in TEST() local
68 ASSERT_TRUE(isIdentityMatrix(matrix)); in TEST()
74 mat4 matrix = daltonizer(); in TEST() local
78 ASSERT_TRUE(isIdentityMatrix(matrix)); in TEST()
84 mat4 matrix = daltonizer(); in TEST() local
96 mat4 matrix = daltonizer(); in TEST() local
110 mat4 matrix = daltonizer(); in TEST() local
112 ASSERT_FALSE(isIdentityMatrix(matrix)); in TEST()
121 mat4 matrix = daltonizer(); in TEST() local
123 ASSERT_TRUE(isIdentityMatrix(matrix)); in TEST()