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: Inverse Matrix

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2012
    Posts
    6

    Inverse Matrix

    Hi

    Simple question. How do you calculate the inverse of a matrix using C/C++ code? I have read lots of articles explaing in excruciating detail about the inverse matrix and how to work it out on paper by doing lots of divides to find the identity matrix and getting the inverse from that but how do you calculate this in code? Do you have to calculate for 4x4 matrices or can you just calculate the inverse of the 3x3 component of a 4x4 matrix??

    Steve

  2. #2

Posting Permissions

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