Is im the transpose of matrix m? I'm pretty sure it is, but, well, I'd like someone who knows for sure to confirm for me.
Quote:
im[0][1] = m[1][0];
im[0][2] = m[2][0];
im[1][0] = m[0][1];
im[1][2] = m[2][1];
im[2][0] = m[0][2];
im[2][1] = m[1][2];