PDA

View Full Version : Save Matrix



sakraf
12-10-2014, 07:52 AM
Hey guys,

is there any way to save the current Matrix for example in a 2D Array (float[][])

Thanks

sakraf

carsten neumann
12-10-2014, 01:33 PM
See glGetFloatv (https://www.opengl.org/sdk/docs/man2/xhtml/glGet.xml) with pname = GL_MODELVIEW_MATRIX or GL_PROJECTION_MATRIX.