Lines Matching refs:modelview
225 ESMatrix modelview; in draw() local
227 esMatrixLoadIdentity(&modelview); in draw()
228 esTranslate(&modelview, 0.0f, 0.0f, -8.0f); in draw()
229 esRotate(&modelview, 45.0f + (0.75f * framenum), 1.0f, 0.0f, 0.0f); in draw()
230 esRotate(&modelview, 45.0f - (0.5f * framenum), 0.0f, 1.0f, 0.0f); in draw()
231 esRotate(&modelview, 10.0f + (0.45f * framenum), 0.0f, 0.0f, 1.0f); in draw()
241 esMatrixMultiply(&modelviewprojection, &modelview, &projection); in draw()
244 normal[0] = modelview.m[0][0]; in draw()
245 normal[1] = modelview.m[0][1]; in draw()
246 normal[2] = modelview.m[0][2]; in draw()
247 normal[3] = modelview.m[1][0]; in draw()
248 normal[4] = modelview.m[1][1]; in draw()
249 normal[5] = modelview.m[1][2]; in draw()
250 normal[6] = modelview.m[2][0]; in draw()
251 normal[7] = modelview.m[2][1]; in draw()
252 normal[8] = modelview.m[2][2]; in draw()
254 glUniformMatrix4fv(m_modelviewmatrix, 1, GL_FALSE, &modelview.m[0][0]); in draw()