Lines Matching defs:matrix
211 GLfloat projection_matrix[16]; ///< Projection matrix
212 GLfloat model_view_matrix[16]; ///< Modev view matrix
213 GLfloat color_map[16]; ///< RGBA color map matrix
545 static void opengl_make_identity(float matrix[16])
547 memset(matrix, 0, 16 * sizeof(float));
548 matrix[0] = matrix[5] = matrix[10] = matrix[15] = 1.0f;
551 static void opengl_make_ortho(float matrix[16], float left, float right,
561 memset(matrix, 0, 16 * sizeof(float));
562 matrix[0] = 2.0f / rsl;
563 matrix[5] = 2.0f / tsb;
564 matrix[10] = -2.0f / fsn;
565 matrix[12] = -ral / rsl;
566 matrix[13] = -tab / tsb;
567 matrix[14] = -fan / fsn;
568 matrix[15] = 1.0f;