Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/netgen/libsrc/include/incvis.hpp
3206 views
1
// libraries for User interface:
2
3
4
#ifndef NOTCL
5
6
#include <tcl.h>
7
#include <tk.h>
8
9
#if TK_MAJOR_VERSION==8 && TK_MINOR_VERSION>=4
10
#define tcl_const const
11
#else
12
#define tcl_const
13
#endif
14
15
#endif
16
17
#include <GL/gl.h>
18
#include <GL/glu.h>
19
#ifndef NOTCL
20
// #include <togl.h>
21
#include "../../togl/togl.h"
22
#endif
23
24
25
26
27
// part of OpenGL 1.2, but not in Microsoft's OpenGL 1.1 header:
28
// GL version sould be checked at runtime
29
#ifndef GL_CLAMP_TO_EDGE
30
#define GL_CLAMP_TO_EDGE 0x812F
31
#endif
32
33
34