How to multiply point by Current Matrix?

I just want to multiply my vertex point by the current matrix. Is there an openGL routine to do this? Do I need to put my point into a 4X4 matrix first and then multiply?

I’ve been doing a little research and it sounds like doing a “glGetFloatV” on the current matrix is very slow. Is the best way then, to keep an internal copy of my matrix and do calculations with it and load it into the current matrix when needed?


If you must do it every frame, I suggest you keep and internal copy of the matrix, and never use any glGet* whatsoever. If you need to do it a few time now and then, a glGet won’t hurt that much.