The meaning of column-major in opengl has confused me.
A 4x4 matrix looks like this with the numbers representing the sequential order of each number,
Correct? So 1 - 4 might represent the x, y, z, and w of some vector...Code :1 5 9 13 2 6 10 14 3 7 11 15 4 8 12 16
Would I initialize a float array or a mat4 like this:
Code :mat4( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
or like this?
Code :mat4( 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15, 4, 8, 12, 16);
Thanks for any help.




