cogl/matrix: Don't debug-print inverse matrix
All multiplication functions need to go away eventually, and this is the penultimate place we're ising the 4x4 multiplication function. Remove it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
This commit is contained in:
parent
dd3c15a8a8
commit
b3318688f8
@ -390,13 +390,7 @@ _cogl_matrix_prefix_print (const char *prefix, const CoglMatrix *matrix)
|
|||||||
print_matrix_floats (prefix, (float *)matrix);
|
print_matrix_floats (prefix, (float *)matrix);
|
||||||
g_print ("%sInverse: \n", prefix);
|
g_print ("%sInverse: \n", prefix);
|
||||||
if (!(matrix->flags & MAT_DIRTY_INVERSE))
|
if (!(matrix->flags & MAT_DIRTY_INVERSE))
|
||||||
{
|
print_matrix_floats (prefix, matrix->inv);
|
||||||
float prod[16];
|
|
||||||
print_matrix_floats (prefix, matrix->inv);
|
|
||||||
matrix_multiply4x4 (prod, (float *)matrix, matrix->inv);
|
|
||||||
g_print ("%sMat * Inverse:\n", prefix);
|
|
||||||
print_matrix_floats (prefix, prod);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
g_print ("%s - not available\n", prefix);
|
g_print ("%s - not available\n", prefix);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user