Original Post
Hi all!
Just wanted to ask how column/row major matrices are defined.
1 4 9
5 6 7
4 2 1
float mat[9];
mat[0] = 1;
mat[1] = 4;
mat[2] = 9;
mat[3] = 5;
mat[4] = 6;
mat[5] = 7;
mat[6] = 4;
mat[7] = 2;
mat[8] = 1;
Is mat a row or a column major matrix? Which matrices does OpenGL use?
--------------------------------------------------------
There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened...
[edited by - Corrail on December 30, 2003 1:06:04 PM]