Function for Copy Matrix

BlitzMax Forums/BlitzMax OpenGL Programming/Function for Copy Matrix

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Local m:Float[16]
glGetFloatv(GL_MODELVIEW_MATRIX,Varptr m[0])

....

glMultMatrixf (m)

hope that helps!