Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

void GpuHelper::forceMatrixTarget ( GLenum  matrixTarget ) [inline]

Make the matrix matrixTarget the current OpenGL matrix target. Call this function before loadMatrix() or multMatrix() if you cannot guarantee that glMatrixMode() has never been called after the last loadMatrix() or multMatrix() calls.

Todo:
provides a debug mode checking the sanity of the cached matrix mode.

Definition at line 78 of file gpuhelper.h.

{glMatrixMode(mCurrentMatrixTarget=matrixTarget);}

Generated by  Doxygen 1.6.0   Back to index