I am transforming my camera like any other object. I would like to set the view model matrix to the inverse of this so that I can draw the rest of the objects relative to the camera.
How do i calculate the inverse transformation?
I construct this matrix from a quaternion and a position vector, if it is easier to find the inverse of these then feel free to post.