Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Save Matrix

  1. #1
    Newbie Newbie
    Join Date
    Dec 2014
    Posts
    1

    Question Save Matrix

    Hey guys,

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

    Thanks

    sakraf

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Posts
    894
    See glGetFloatv with pname = GL_MODELVIEW_MATRIX or GL_PROJECTION_MATRIX.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •