Lines Matching refs:mat
51 mat_identity(GLfloat mat[16])
53 memset(mat, 0, 16*sizeof(GLfloat));
54 mat[0] = mat[5] = mat[10] = mat[15] = 1.0;
59 mat_translate(GLfloat mat[16], float tx, float ty, float tz)
61 mat_identity(mat);
62 mat[12] = tx;
63 mat[13] = ty;
64 mat[14] = tx;
69 mat_frustum(GLfloat mat[16],
83 #define M(row,col) mat[col*4+row]