Lines Matching refs:Matrix4

60  * @tc.desc: Test functions beginning with Create of the class Matrix4.
66 * @tc.steps: Test the function CreateIdentity of the class Matrix4.
68 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
77 * @tc.steps: Test the function CreateTranslate of the class Matrix4.
79 Matrix4 matrix4Obj2 = Matrix4::CreateTranslate(DEFAULT_DOUBLE0, DEFAULT_DOUBLE1, DEFAULT_DOUBLE2);
86 * @tc.steps: Test the function CreateScale of the class Matrix4.
88 Matrix4 matrix4Obj3 = Matrix4::CreateScale(DEFAULT_DOUBLE0, DEFAULT_DOUBLE1, DEFAULT_DOUBLE2);
95 * @tc.steps: Test functions CreateRotate and Rotate of the class Matrix4.
97 Matrix4 matrix4Obj4 = Matrix4::CreateRotate(DEFAULT_DOUBLE1, DEFAULT_DOUBLE0, DEFAULT_DOUBLE0, DEFAULT_DOUBLE0);
99 Matrix4 matrix4Obj5 = Matrix4::CreateRotate(DEFAULT_DOUBLE0, DEFAULT_DOUBLE1, DEFAULT_DOUBLE1, DEFAULT_DOUBLE1);
100 Matrix4 matrix4Obj6 = Matrix4::CreateIdentity();
105 * @tc.steps: Test the function CreateMatrix2D of the class Matrix4.
107 Matrix4 matrix4Obj7 = Matrix4::CreateMatrix2D(
117 * @tc.steps: Test the function CreateSkew of the class Matrix4.
119 Matrix4 matrix4Obj8 = Matrix4::CreateSkew(DEFAULT_DOUBLE1, DEFAULT_DOUBLE1);
124 * @tc.steps: Test the function CreatePerspective of the class Matrix4.
126 Matrix4 matrix4Obj9 = Matrix4::CreatePerspective(DEFAULT_DOUBLE0);
128 Matrix4 matrix4Obj10 = Matrix4::CreatePerspective(DEFAULT_DOUBLE2);
134 * @tc.desc: Test the function SetEntry of the classes Matrix4, Matrix4N and MatrixN4.
140 * @tc.steps: Test the function SetEntry of the class Matrix4.
142 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
172 * @tc.desc: Test the function Transpose of the classes Matrix4, Matrix4N and MatrixN4.
178 * @tc.steps: Test the function Transpose of the class Matrix4.
180 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
182 Matrix4 matrix4Obj2 = Matrix4::CreateIdentity();
204 * @tc.desc: Test the function MapScalars of the classes Matrix4.
214 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
340 * @tc.desc: Test the function operator* of classes Matrix4 and Matrix4N.
348 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
357 * @tc.steps: Test the function operator* of the class Matrix4 whose parameter is Point.
365 * @tc.steps: Test the function operator* of the class Matrix4 whose parameter is Matrix4N.
367 Matrix4 matrix4Obj2 = Matrix4::CreateIdentity() * DEFAULT_DOUBLE2;
387 Matrix4 matrix4Obj3 = matrix4NObj1 * matrixN4Obj1;
397 Matrix4 matrix4Obj4 = matrix4NObj1 * matrixN4Obj2;
403 * @tc.desc: Test other functions of classes Matrix4 and Matrix4N.
409 * @tc.steps: Test the function about scale of the class Matrix4.
411 Matrix4 matrix4Obj1 = Matrix4::CreateIdentity();
426 Matrix4 matrix4Obj2 = Matrix4::CreateIdentity();
432 Matrix4 matrix4Obj3 = matrix4Obj2;
435 EXPECT_EQ(Matrix4::Invert(matrix4Obj3), matrix4Obj2);
440 Matrix4 matrix4Obj4 = matrix4Obj2 * DEFAULT_DOUBLE2;
442 Matrix4 matrix4Obj5 = Matrix4::Invert(matrix4Obj4);
448 Matrix4 matrix4Obj6 = matrix4Obj4 * matrix4Obj5;
462 Matrix4 ret = Matrix4::QuaternionToMatrix(0.0f, 0.0f, 0.0f, 0.0f);
464 Matrix4 ret2 = Matrix4::QuaternionToMatrix(1.0f, 1.0f, 1.0f, 1.0f);
468 * @tc.steps: Matrix4 SetEntry row or col is out of range
471 Matrix4 matrix4Obj = Matrix4::CreateIdentity();