mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-04 00:45:40 +05:00
viewport saved as a static variable
This commit is contained in:
parent
6988af4222
commit
8e2759e25a
@ -56,6 +56,7 @@ namespace netgen
|
|||||||
|
|
||||||
int VisualScene :: selecttimestamp;
|
int VisualScene :: selecttimestamp;
|
||||||
|
|
||||||
|
int VisualScene :: viewport[4];
|
||||||
|
|
||||||
VisualizationParameters :: VisualizationParameters()
|
VisualizationParameters :: VisualizationParameters()
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@ namespace netgen
|
|||||||
static float transmat[16];
|
static float transmat[16];
|
||||||
static float rotmat[16];
|
static float rotmat[16];
|
||||||
static float centermat[16];
|
static float centermat[16];
|
||||||
|
|
||||||
static DLL_HEADER float transformationmat[16];
|
static DLL_HEADER float transformationmat[16];
|
||||||
|
|
||||||
GLdouble clipplane[4];
|
GLdouble clipplane[4];
|
||||||
@ -43,7 +44,7 @@ namespace netgen
|
|||||||
static int selecttimestamp;
|
static int selecttimestamp;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
static int viewport[4];
|
||||||
// static GLubyte * colortexture;
|
// static GLubyte * colortexture;
|
||||||
static GLuint coltexname;
|
static GLuint coltexname;
|
||||||
static int ntexcols;
|
static int ntexcols;
|
||||||
@ -92,7 +93,7 @@ namespace netgen
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
extern void MyOpenGLText (const char * text);
|
DLL_HEADER extern void MyOpenGLText (const char * text);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user