Sorry, but I am an absolute beginner…
Is there any function that I can use to
fetch the matrix that is on top of the
stack ?
Something that is the opposite of glLoadMatrix*()…
Thanks
S.
Sorry, but I am an absolute beginner…
Is there any function that I can use to
fetch the matrix that is on top of the
stack ?
Something that is the opposite of glLoadMatrix*()…
Thanks
S.
Use the glGetDoublev or glGetFloatv functions passing the name of the stack and a pointer to the allocated memory to receive the matrix data.
Thanks!