proj home

Files   Classes   Functions   Hierarchy  

myglPushMatrix Class Reference

Push and pop the current OpenGL matrix. More...

#include <graphmisc.h>

List of all members.

Public Member Functions

 myglPushMatrix ()
 Save the current matrix.
 ~myglPushMatrix ()
 Restore the previous matrix.


Detailed Description

Push and pop the current OpenGL matrix.

Use with named variables so when the object goes out of scope the destructor is called.

Definition at line 108 of file graphmisc.h.


Constructor & Destructor Documentation

myglPushMatrix::myglPushMatrix (  )  [inline]

Save the current matrix.

Definition at line 113 of file graphmisc.h.

00114     { glPushMatrix(); }

myglPushMatrix::~myglPushMatrix (  )  [inline]

Restore the previous matrix.

Definition at line 117 of file graphmisc.h.

00118     { glPopMatrix(); }


The documentation for this class was generated from the following file:

Generated on Fri Mar 4 00:50:07 2011 for Chelton Evans Source by  doxygen 1.5.8