Viewing current matrix

I would like to be able to access the individual components of the current matrix.
Is there anyway to load the current matrix into a buffer… function? global array I’m missing? Any help would really be appreciated.


float matrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX, matrix);

i’m an idiot for not looking at the state variables list before asking… thanks alot.

don’t beat yourself up.

happy glGetFloatv-ing,