Lines Matching refs:mat
92 float mat[4];
96 mat[0] = ambr;
97 mat[1] = ambg;
98 mat[2] = ambb;
99 mat[3] = 1.0;
100 glMaterialfv(GL_FRONT, GL_AMBIENT, mat);
101 mat[0] = difr;
102 mat[1] = difg;
103 mat[2] = difb;
104 glMaterialfv(GL_FRONT, GL_DIFFUSE, mat);
105 mat[0] = specr;
106 mat[1] = specg;
107 mat[2] = specb;
108 glMaterialfv(GL_FRONT, GL_SPECULAR, mat);