/** * Dumps the contents of a GLmatrix structure. * * \param m pointer to the GLmatrix structure. */ void _math_matrix_print( const GLmatrix *m ) { GLfloat prod[16]; _mesa_debug(NULL, "Matrix type: %s, flags: %x\n", types[m->type], m->flags); print_matrix_floats(m->m); _mesa_debug(NULL, "Inverse: \n"); print_matrix_floats(m->inv); matmul4(prod, m->m, m->inv); _mesa_debug(NULL, "Mat * Inverse:\n"); print_matrix_floats(prod); }
void es_print_matrix (const char *prefix, CoglMatrix *matrix) { print_matrix_floats (prefix, (float *)matrix); }