// libraries for User interface: #include #include #if TK_MAJOR_VERSION==8 && TK_MINOR_VERSION>=4 #define tcl_const const #else #define tcl_const #endif #define GL_GLEXT_PROTOTYPES # if defined(TOGL_AGL) || defined(TOGL_AGL_CLASSIC) # include # include # else # include # include # endif #ifdef TOGL_X11 // parallel #define GLX_GLXEXT_PROTOTYPES #include #include #endif // part of OpenGL 1.2, but not in Microsoft's OpenGL 1.1 header: // GL version sould be checked at runtime #ifndef GL_CLAMP_TO_EDGE #define GL_CLAMP_TO_EDGE 0x812F #endif