2009-01-13 04:40:13 +05:00
|
|
|
// libraries for User interface:
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NOTCL
|
|
|
|
|
|
|
|
#include <tcl.h>
|
|
|
|
#include <tk.h>
|
|
|
|
|
|
|
|
#if TK_MAJOR_VERSION==8 && TK_MINOR_VERSION>=4
|
|
|
|
#define tcl_const const
|
|
|
|
#else
|
|
|
|
#define tcl_const
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <GL/gl.h>
|
|
|
|
#include <GL/glu.h>
|
|
|
|
#ifndef NOTCL
|
2009-01-20 14:08:01 +05:00
|
|
|
// #include <togl.h>
|
2009-01-13 04:40:13 +05:00
|
|
|
// #include "../../togl/togl.h"
|
|
|
|
#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
|
|
|
|
|