I'm back with a simple question
Ok, let's say that i'm currently in a certain matrix, obtained after dozens of glTranslate and glRotate.
Now i draw something at position x,y,z.
What's the best way to obtain x,y,z in world coordinate (so inverting the transformation)?
Maybe if you've some code too it will be appreciated