Is there a way to get inverse of GL_MODELVIEW_MATRIX? I am certain hardware has to use it at some point, and I can’t believe it has been excluded from the API??
So I am looking for something like glGetFloatv(GL_MODELVIEW_INVERSE_MATRIX) …
I went through RedBook couple times, but I couldn’t find it, am I blind or… ??
I’m not putting my hand on fire over this, but I don’t think it exists. Besides, I don’t think it’s that hard to write your own inverse routine. You can get the current matrix with: