4x4 Object matrix to camera matrix

OK so I figured out how to multiply rotation matricies to other matricies used to store object location and I’m able to get them to rotate on their local axises but now I am trying ot make a 6 DOF camera. Is there a good way to use the matrix data that works on objects and then use that at the start of my draw scene to use that data to represent where the camera is?

Thanks
Mitchell

OK I figured out how to do it. I just take my object matrix and find the inverse of it and load the inverse matrix.