viewport saved as a static variable

This commit is contained in:
Gerhard Kitzler 2012-10-29 17:52:31 +00:00
parent 6988af4222
commit 8e2759e25a
2 changed files with 5 additions and 3 deletions

View File

@ -56,6 +56,7 @@ namespace netgen
int VisualScene :: selecttimestamp;
int VisualScene :: viewport[4];
VisualizationParameters :: VisualizationParameters()
{

View File

@ -26,6 +26,7 @@ namespace netgen
static float transmat[16];
static float rotmat[16];
static float centermat[16];
static DLL_HEADER float transformationmat[16];
GLdouble clipplane[4];
@ -43,7 +44,7 @@ namespace netgen
static int selecttimestamp;
public:
static int viewport[4];
// static GLubyte * colortexture;
static GLuint coltexname;
static int ntexcols;
@ -92,7 +93,7 @@ namespace netgen
};
extern void MyOpenGLText (const char * text);
DLL_HEADER extern void MyOpenGLText (const char * text);