Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

glt/matrix.cpp

Go to the documentation of this file.
00001 #include "matrix.h"
00002 
00015 #include <glt/error.h>
00016 
00017 GltPushMatrix::GltPushMatrix(const bool enable)
00018 : _enable(enable)
00019 {
00020     GLERROR
00021 
00022     if (_enable)
00023         glPushMatrix();
00024 
00025     GLERROR
00026 }
00027 
00028 GltPushMatrix::~GltPushMatrix()
00029 {
00030     GLERROR
00031 
00032     if (_enable)
00033         glPopMatrix();
00034 
00035     GLERROR
00036 }

Generated on Tue Nov 5 11:11:03 2002 for GLT by doxygen1.2.18