Home | History | Annotate | Download | only in tests

Lines Matching full:matrix

521 static void setRotationMatrix(float matrix[9], float angle) {
524 matrix[0] = cos;
525 matrix[1] = -sin;
526 matrix[2] = 0;
527 matrix[3] = sin;
528 matrix[4] = cos;
529 matrix[5] = 0;
530 matrix[6] = 0;
531 matrix[7] = 0;
532 matrix[8] = 1.0f;
577 float matrix[9];
578 setRotationMatrix(matrix, ROTATION * PI_180);
579 event.transform(matrix);