17# define WIN32_LEAN_AND_MEAN
22# define GLUT_APIENTRY_DEFINED
23# if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) || defined(__LCC__)
24# define APIENTRY __stdcall
31# if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) || defined(__LCC__)
32# define CALLBACK __stdcall
38# if defined( __LCC__ )
40# define WINGDIAPI __stdcall
44# define GLUT_WINGDIAPI_DEFINED
45# define WINGDIAPI __declspec(dllimport)
49# ifndef _WCHAR_T_DEFINED
50typedef unsigned short wchar_t;
51# define _WCHAR_T_DEFINED
57# if !defined(GLUT_BUILDING_LIB) && !defined(GLUT_NO_LIB_PRAGMA)
58# pragma comment (lib, "winmm.lib")
61# ifdef GLUT_USE_SGI_OPENGL
62# pragma comment (lib, "opengl.lib")
63# pragma comment (lib, "glu.lib")
64# pragma comment (lib, "glut.lib")
66# pragma comment (lib, "opengl32.lib")
67# pragma comment (lib, "glu32.lib")
68# pragma comment (lib, "glut32.lib")
75# ifndef GLUT_NO_WARNING_DISABLE
76# pragma warning (disable:4244)
77# pragma warning (disable:4305)
101# if !defined(_MSC_VER) && !defined(__cdecl)
104# define GLUT_DEFINED___CDECL
113# define _CRTIMP __declspec(dllimport)
118# define GLUT_DEFINED__CRTIMP
122# ifdef GLUT_BUILDING_LIB
123# define GLUTAPI __declspec(dllexport)
126# define GLUTAPI __declspec(dllimport)
128# define GLUTAPI extern
133# define GLUTCALLBACK __cdecl
145# ifndef GLUT_BUILDING_LIB
147 extern _CRTIMP __declspec(noreturn)
void __cdecl
exit(
int _Code);
149 extern _CRTIMP
void __cdecl
exit(
int);
156# define GLUT_APIENTRY_DEFINED
159# define GLUTAPI extern
186#ifndef GLUT_API_VERSION
187#define GLUT_API_VERSION 3
226#ifndef GLUT_XLIB_IMPLEMENTATION
227#define GLUT_XLIB_IMPLEMENTATION 15
232#define GLUT_RGBA GLUT_RGB
239#define GLUT_STENCIL 32
240#if (GLUT_API_VERSION >= 2)
241#define GLUT_MULTISAMPLE 128
242#define GLUT_STEREO 256
244#if (GLUT_API_VERSION >= 3)
245#define GLUT_LUMINANCE 512
249#define GLUT_LEFT_BUTTON 0
250#define GLUT_MIDDLE_BUTTON 1
251#define GLUT_RIGHT_BUTTON 2
257#if (GLUT_API_VERSION >= 2)
268#define GLUT_KEY_F10 10
269#define GLUT_KEY_F11 11
270#define GLUT_KEY_F12 12
272#define GLUT_KEY_LEFT 100
273#define GLUT_KEY_UP 101
274#define GLUT_KEY_RIGHT 102
275#define GLUT_KEY_DOWN 103
276#define GLUT_KEY_PAGE_UP 104
277#define GLUT_KEY_PAGE_DOWN 105
278#define GLUT_KEY_HOME 106
279#define GLUT_KEY_END 107
280#define GLUT_KEY_INSERT 108
285#define GLUT_ENTERED 1
288#define GLUT_MENU_NOT_IN_USE 0
289#define GLUT_MENU_IN_USE 1
292#define GLUT_NOT_VISIBLE 0
293#define GLUT_VISIBLE 1
297#define GLUT_FULLY_RETAINED 1
298#define GLUT_PARTIALLY_RETAINED 2
299#define GLUT_FULLY_COVERED 3
308#define GLUT_STROKE_ROMAN ((void*)0)
309#define GLUT_STROKE_MONO_ROMAN ((void*)1)
312#define GLUT_BITMAP_9_BY_15 ((void*)2)
313#define GLUT_BITMAP_8_BY_13 ((void*)3)
314#define GLUT_BITMAP_TIMES_ROMAN_10 ((void*)4)
315#define GLUT_BITMAP_TIMES_ROMAN_24 ((void*)5)
316#if (GLUT_API_VERSION >= 3)
317#define GLUT_BITMAP_HELVETICA_10 ((void*)6)
318#define GLUT_BITMAP_HELVETICA_12 ((void*)7)
319#define GLUT_BITMAP_HELVETICA_18 ((void*)8)
327#define GLUT_STROKE_ROMAN (&glutStrokeRoman)
328#define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman)
340#define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15)
341#define GLUT_BITMAP_8_BY_13 (&glutBitmap8By13)
342#define GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10)
343#define GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24)
344#if (GLUT_API_VERSION >= 3)
345#define GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10)
346#define GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12)
347#define GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18)
352#define GLUT_WINDOW_X ((GLenum) 100)
353#define GLUT_WINDOW_Y ((GLenum) 101)
354#define GLUT_WINDOW_WIDTH ((GLenum) 102)
355#define GLUT_WINDOW_HEIGHT ((GLenum) 103)
356#define GLUT_WINDOW_BUFFER_SIZE ((GLenum) 104)
357#define GLUT_WINDOW_STENCIL_SIZE ((GLenum) 105)
358#define GLUT_WINDOW_DEPTH_SIZE ((GLenum) 106)
359#define GLUT_WINDOW_RED_SIZE ((GLenum) 107)
360#define GLUT_WINDOW_GREEN_SIZE ((GLenum) 108)
361#define GLUT_WINDOW_BLUE_SIZE ((GLenum) 109)
362#define GLUT_WINDOW_ALPHA_SIZE ((GLenum) 110)
363#define GLUT_WINDOW_ACCUM_RED_SIZE ((GLenum) 111)
364#define GLUT_WINDOW_ACCUM_GREEN_SIZE ((GLenum) 112)
365#define GLUT_WINDOW_ACCUM_BLUE_SIZE ((GLenum) 113)
366#define GLUT_WINDOW_ACCUM_ALPHA_SIZE ((GLenum) 114)
367#define GLUT_WINDOW_DOUBLEBUFFER ((GLenum) 115)
368#define GLUT_WINDOW_RGBA ((GLenum) 116)
369#define GLUT_WINDOW_PARENT ((GLenum) 117)
370#define GLUT_WINDOW_NUM_CHILDREN ((GLenum) 118)
371#define GLUT_WINDOW_COLORMAP_SIZE ((GLenum) 119)
372#if (GLUT_API_VERSION >= 2)
373#define GLUT_WINDOW_NUM_SAMPLES ((GLenum) 120)
374#define GLUT_WINDOW_STEREO ((GLenum) 121)
376#if (GLUT_API_VERSION >= 3)
377#define GLUT_WINDOW_CURSOR ((GLenum) 122)
379#define GLUT_SCREEN_WIDTH ((GLenum) 200)
380#define GLUT_SCREEN_HEIGHT ((GLenum) 201)
381#define GLUT_SCREEN_WIDTH_MM ((GLenum) 202)
382#define GLUT_SCREEN_HEIGHT_MM ((GLenum) 203)
383#define GLUT_MENU_NUM_ITEMS ((GLenum) 300)
384#define GLUT_DISPLAY_MODE_POSSIBLE ((GLenum) 400)
385#define GLUT_INIT_WINDOW_X ((GLenum) 500)
386#define GLUT_INIT_WINDOW_Y ((GLenum) 501)
387#define GLUT_INIT_WINDOW_WIDTH ((GLenum) 502)
388#define GLUT_INIT_WINDOW_HEIGHT ((GLenum) 503)
389#define GLUT_INIT_DISPLAY_MODE ((GLenum) 504)
390#if (GLUT_API_VERSION >= 2)
391#define GLUT_ELAPSED_TIME ((GLenum) 700)
393#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13)
394#define GLUT_WINDOW_FORMAT_ID ((GLenum) 123)
397#if (GLUT_API_VERSION >= 2)
399#define GLUT_HAS_KEYBOARD ((GLenum) 600)
400#define GLUT_HAS_MOUSE ((GLenum) 601)
401#define GLUT_HAS_SPACEBALL ((GLenum) 602)
402#define GLUT_HAS_DIAL_AND_BUTTON_BOX ((GLenum) 603)
403#define GLUT_HAS_TABLET ((GLenum) 604)
404#define GLUT_NUM_MOUSE_BUTTONS ((GLenum) 605)
405#define GLUT_NUM_SPACEBALL_BUTTONS ((GLenum) 606)
406#define GLUT_NUM_BUTTON_BOX_BUTTONS ((GLenum) 607)
407#define GLUT_NUM_DIALS ((GLenum) 608)
408#define GLUT_NUM_TABLET_BUTTONS ((GLenum) 609)
410#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13)
411#define GLUT_DEVICE_IGNORE_KEY_REPEAT ((GLenum) 610)
412#define GLUT_DEVICE_KEY_REPEAT ((GLenum) 611)
413#define GLUT_HAS_JOYSTICK ((GLenum) 612)
414#define GLUT_OWNS_JOYSTICK ((GLenum) 613)
415#define GLUT_JOYSTICK_BUTTONS ((GLenum) 614)
416#define GLUT_JOYSTICK_AXES ((GLenum) 615)
417#define GLUT_JOYSTICK_POLL_RATE ((GLenum) 616)
420#if (GLUT_API_VERSION >= 3)
422#define GLUT_OVERLAY_POSSIBLE ((GLenum) 800)
423#define GLUT_LAYER_IN_USE ((GLenum) 801)
424#define GLUT_HAS_OVERLAY ((GLenum) 802)
425#define GLUT_TRANSPARENT_INDEX ((GLenum) 803)
426#define GLUT_NORMAL_DAMAGED ((GLenum) 804)
427#define GLUT_OVERLAY_DAMAGED ((GLenum) 805)
429#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
431#define GLUT_VIDEO_RESIZE_POSSIBLE ((GLenum) 900)
432#define GLUT_VIDEO_RESIZE_IN_USE ((GLenum) 901)
433#define GLUT_VIDEO_RESIZE_X_DELTA ((GLenum) 902)
434#define GLUT_VIDEO_RESIZE_Y_DELTA ((GLenum) 903)
435#define GLUT_VIDEO_RESIZE_WIDTH_DELTA ((GLenum) 904)
436#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA ((GLenum) 905)
437#define GLUT_VIDEO_RESIZE_X ((GLenum) 906)
438#define GLUT_VIDEO_RESIZE_Y ((GLenum) 907)
439#define GLUT_VIDEO_RESIZE_WIDTH ((GLenum) 908)
440#define GLUT_VIDEO_RESIZE_HEIGHT ((GLenum) 909)
444#define GLUT_NORMAL ((GLenum) 0)
445#define GLUT_OVERLAY ((GLenum) 1)
448#define GLUT_ACTIVE_SHIFT 1
449#define GLUT_ACTIVE_CTRL 2
450#define GLUT_ACTIVE_ALT 4
454#define GLUT_CURSOR_RIGHT_ARROW 0
455#define GLUT_CURSOR_LEFT_ARROW 1
457#define GLUT_CURSOR_INFO 2
458#define GLUT_CURSOR_DESTROY 3
459#define GLUT_CURSOR_HELP 4
460#define GLUT_CURSOR_CYCLE 5
461#define GLUT_CURSOR_SPRAY 6
462#define GLUT_CURSOR_WAIT 7
463#define GLUT_CURSOR_TEXT 8
464#define GLUT_CURSOR_CROSSHAIR 9
466#define GLUT_CURSOR_UP_DOWN 10
467#define GLUT_CURSOR_LEFT_RIGHT 11
469#define GLUT_CURSOR_TOP_SIDE 12
470#define GLUT_CURSOR_BOTTOM_SIDE 13
471#define GLUT_CURSOR_LEFT_SIDE 14
472#define GLUT_CURSOR_RIGHT_SIDE 15
473#define GLUT_CURSOR_TOP_LEFT_CORNER 16
474#define GLUT_CURSOR_TOP_RIGHT_CORNER 17
475#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18
476#define GLUT_CURSOR_BOTTOM_LEFT_CORNER 19
478#define GLUT_CURSOR_INHERIT 100
480#define GLUT_CURSOR_NONE 101
482#define GLUT_CURSOR_FULL_CROSSHAIR 102
487#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK)
488GLUTAPI void APIENTRY __glutInitWithExit(
int *argcp,
char **argv,
void (__cdecl *exitfunc)(
int));
489#ifndef GLUT_BUILDING_LIB
490static void APIENTRY glutInit_ATEXIT_HACK(
int *argcp,
char **argv) { __glutInitWithExit(argcp, argv,
exit); }
491#define glutInit glutInit_ATEXIT_HACK
495#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
504#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK)
505GLUTAPI int APIENTRY __glutCreateWindowWithExit(
const char *title,
void (__cdecl *exitfunc)(
int));
506#ifndef GLUT_BUILDING_LIB
507static int APIENTRY glutCreateWindow_ATEXIT_HACK(
const char *title) {
return __glutCreateWindowWithExit(title,
exit); }
508#define glutCreateWindow glutCreateWindow_ATEXIT_HACK
514#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 11)
529#if (GLUT_API_VERSION >= 3)
532#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
541#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 11)
550#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK)
552#ifndef GLUT_BUILDING_LIB
553static int APIENTRY glutCreateMenu_ATEXIT_HACK(
void (
GLUTCALLBACK *func)(
int)) {
return __glutCreateMenuWithExit(func,
exit); }
554#define glutCreateMenu glutCreateMenu_ATEXIT_HACK
580#if (GLUT_API_VERSION >= 2)
589#if (GLUT_API_VERSION >= 3)
592#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
595#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13)
611#if (GLUT_API_VERSION >= 2)
615#if (GLUT_API_VERSION >= 3)
625#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
650#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
662#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13)
665#define GLUT_KEY_REPEAT_OFF 0
666#define GLUT_KEY_REPEAT_ON 1
667#define GLUT_KEY_REPEAT_DEFAULT 2
670#define GLUT_JOYSTICK_BUTTON_A 1
671#define GLUT_JOYSTICK_BUTTON_B 2
672#define GLUT_JOYSTICK_BUTTON_C 4
673#define GLUT_JOYSTICK_BUTTON_D 8
681#define GLUT_GAME_MODE_ACTIVE ((GLenum) 0)
682#define GLUT_GAME_MODE_POSSIBLE ((GLenum) 1)
683#define GLUT_GAME_MODE_WIDTH ((GLenum) 2)
684#define GLUT_GAME_MODE_HEIGHT ((GLenum) 3)
685#define GLUT_GAME_MODE_PIXEL_DEPTH ((GLenum) 4)
686#define GLUT_GAME_MODE_REFRESH_RATE ((GLenum) 5)
687#define GLUT_GAME_MODE_DISPLAY_CHANGED ((GLenum) 6)
700#ifdef GLUT_APIENTRY_DEFINED
701# undef GLUT_APIENTRY_DEFINED
705#ifdef GLUT_WINGDIAPI_DEFINED
706# undef GLUT_WINGDIAPI_DEFINED
710#ifdef GLUT_DEFINED___CDECL
711# undef GLUT_DEFINED___CDECL
715#ifdef GLUT_DEFINED__CRTIMP
716# undef GLUT_DEFINED__CRTIMP
float GLfloat
Definition glew.h:289
double GLdouble
Definition glew.h:291
int GLint
Definition glew.h:281
unsigned int GLenum
Definition glew.h:278
GLUTAPI void APIENTRY glutBitmapCharacter(void *font, int character)
GLUTAPI void APIENTRY glutDisplayFunc(void(GLUTCALLBACK *func)(void))
GLUTAPI void APIENTRY glutSpaceballRotateFunc(void(GLUTCALLBACK *func)(int x, int y, int z))
GLUTAPI void * glutStrokeMonoRoman
Definition glut.h:324
GLUTAPI void APIENTRY glutDialsFunc(void(GLUTCALLBACK *func)(int dial, int value))
GLUTAPI void APIENTRY glutShowOverlay(void)
GLUTAPI void * glutStrokeRoman
Definition glut.h:323
GLUTAPI void APIENTRY glutOverlayDisplayFunc(void(GLUTCALLBACK *func)(void))
GLUTAPI int APIENTRY glutEnterGameMode(void)
GLUTAPI int APIENTRY glutGet(GLenum type)
GLUTAPI void APIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks)
#define GLUTCALLBACK
Definition glut.h:160
GLUTAPI void APIENTRY glutEntryFunc(void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY glutWireIcosahedron(void)
GLUTAPI void APIENTRY glutInitDisplayMode(unsigned int mode)
GLUTAPI void APIENTRY glutSwapBuffers(void)
GLUTAPI void APIENTRY glutInit(int *argcp, char **argv)
GLUTAPI void APIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks)
GLUTAPI void APIENTRY glutSpecialFunc(void(GLUTCALLBACK *func)(int key, int x, int y))
GLUTAPI void APIENTRY glutRemoveOverlay(void)
GLUTAPI void APIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks)
GLUTAPI void APIENTRY glutWireTeapot(GLdouble size)
GLUTAPI int APIENTRY glutCreateMenu(void(GLUTCALLBACK *func)(int))
GLUTAPI void APIENTRY glutTimerFunc(unsigned int millis, void(GLUTCALLBACK *func)(int value), int value)
GLUTAPI void APIENTRY glutInitDisplayString(const char *string)
#define APIENTRY
Definition glut.h:155
GLUTAPI void APIENTRY glutMotionFunc(void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY glutJoystickFunc(void(GLUTCALLBACK *func)(unsigned int buttonMask, int x, int y, int z), int pollInterval)
GLUTAPI void APIENTRY glutPostRedisplay(void)
GLUTAPI void APIENTRY glutWireDodecahedron(void)
GLUTAPI int APIENTRY glutBitmapWidth(void *font, int character)
GLUTAPI int APIENTRY glutVideoResizeGet(GLenum param)
GLUTAPI void APIENTRY glutVideoPan(int x, int y, int width, int height)
GLUTAPI void APIENTRY glutSolidIcosahedron(void)
GLUTAPI void APIENTRY glutKeyboardFunc(void(GLUTCALLBACK *func)(unsigned char key, int x, int y))
GLUTAPI void APIENTRY glutIdleFunc(void(GLUTCALLBACK *func)(void))
GLUTAPI void APIENTRY glutForceJoystickFunc(void)
GLUTAPI int APIENTRY glutStrokeWidth(void *font, int character)
GLUTAPI int APIENTRY glutStrokeLength(void *font, const unsigned char *string)
GLUTAPI void APIENTRY glutCopyColormap(int win)
GLUTAPI void APIENTRY glutSolidOctahedron(void)
GLUTAPI void APIENTRY glutSolidTeapot(GLdouble size)
GLUTAPI void APIENTRY glutSetWindowTitle(const char *title)
GLUTAPI void APIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)
GLUTAPI void APIENTRY glutPassiveMotionFunc(void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY glutIgnoreKeyRepeat(int ignore)
GLUTAPI int APIENTRY glutGameModeGet(GLenum mode)
GLUTAPI void APIENTRY glutMenuStateFunc(void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY glutWireTetrahedron(void)
GLUTAPI int APIENTRY glutGetWindow(void)
GLUTAPI void APIENTRY glutDestroyWindow(int win)
GLUTAPI void APIENTRY glutReshapeFunc(void(GLUTCALLBACK *func)(int width, int height))
GLUTAPI void APIENTRY glutHideWindow(void)
GLUTAPI void * glutBitmapHelvetica10
Definition glut.h:335
GLUTAPI void APIENTRY glutIconifyWindow(void)
GLUTAPI void APIENTRY glutPostWindowOverlayRedisplay(int win)
GLUTAPI void APIENTRY glutReportErrors(void)
GLUTAPI void APIENTRY glutDetachMenu(int button)
GLUTAPI void APIENTRY glutShowWindow(void)
GLUTAPI void APIENTRY glutButtonBoxFunc(void(GLUTCALLBACK *func)(int button, int state))
GLUTAPI void APIENTRY glutInitWindowPosition(int x, int y)
GLUTAPI void APIENTRY glutStrokeCharacter(void *font, int character)
GLUTAPI void * glutBitmapTimesRoman10
Definition glut.h:333
GLUTAPI void APIENTRY glutChangeToMenuEntry(int item, const char *label, int value)
GLUTAPI void APIENTRY glutChangeToSubMenu(int item, const char *label, int submenu)
GLUTAPI void APIENTRY glutFullScreen(void)
GLUTAPI int APIENTRY glutLayerGet(GLenum type)
GLUTAPI void APIENTRY glutSetIconTitle(const char *title)
GLUTAPI void APIENTRY glutSpaceballMotionFunc(void(GLUTCALLBACK *func)(int x, int y, int z))
GLUTAPI void APIENTRY glutWarpPointer(int x, int y)
GLUTAPI GLfloat APIENTRY glutGetColor(int ndx, int component)
GLUTAPI void * glutBitmap8By13
Definition glut.h:332
GLUTAPI void APIENTRY glutSetMenu(int menu)
GLUTAPI void APIENTRY glutInitWindowSize(int width, int height)
GLUTAPI void APIENTRY glutAddSubMenu(const char *label, int submenu)
GLUTAPI void APIENTRY glutMainLoop(void)
GLUTAPI void APIENTRY glutSetColor(int, GLfloat red, GLfloat green, GLfloat blue)
GLUTAPI void APIENTRY glutSolidDodecahedron(void)
GLUTAPI int APIENTRY glutGetModifiers(void)
GLUTAPI void APIENTRY glutSolidCube(GLdouble size)
GLUTAPI void APIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks)
GLUTAPI void APIENTRY glutWindowStatusFunc(void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY glutMenuStatusFunc(void(GLUTCALLBACK *func)(int status, int x, int y))
#define GLUTAPI
Definition glut.h:159
GLUTAPI void APIENTRY glutEstablishOverlay(void)
GLUTAPI void APIENTRY glutVisibilityFunc(void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY glutWireOctahedron(void)
GLUTAPI void APIENTRY glutVideoResize(int x, int y, int width, int height)
GLUTAPI void APIENTRY glutStopVideoResizing(void)
GLUTAPI int APIENTRY glutGetMenu(void)
GLUTAPI void APIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)
GLUTAPI void APIENTRY glutPopWindow(void)
GLUTAPI void APIENTRY glutSetKeyRepeat(int repeatMode)
GLUTAPI void APIENTRY glutPushWindow(void)
GLUTAPI int APIENTRY glutExtensionSupported(const char *name)
GLUTAPI void APIENTRY glutUseLayer(GLenum layer)
GLUTAPI int APIENTRY glutDeviceGet(GLenum type)
GLUTAPI int APIENTRY glutCreateSubWindow(int win, int x, int y, int width, int height)
GLUTAPI void * glutBitmap9By15
Definition glut.h:331
GLUTAPI void APIENTRY glutReshapeWindow(int width, int height)
GLUTAPI void APIENTRY glutDestroyMenu(int menu)
GLUTAPI void APIENTRY glutAttachMenu(int button)
GLUTAPI void APIENTRY glutTabletButtonFunc(void(GLUTCALLBACK *func)(int button, int state, int x, int y))
GLUTAPI void APIENTRY glutAddMenuEntry(const char *label, int value)
GLUTAPI void APIENTRY glutWireCube(GLdouble size)
GLUTAPI void APIENTRY glutPositionWindow(int x, int y)
GLUTAPI void APIENTRY glutHideOverlay(void)
GLUTAPI void APIENTRY glutSpecialUpFunc(void(GLUTCALLBACK *func)(int key, int x, int y))
GLUTAPI void APIENTRY glutGameModeString(const char *string)
GLUTAPI void APIENTRY glutSpaceballButtonFunc(void(GLUTCALLBACK *func)(int button, int state))
GLUTAPI void APIENTRY glutSetupVideoResizing(void)
GLUTAPI void APIENTRY glutSetWindow(int win)
GLUTAPI void APIENTRY glutPostWindowRedisplay(int win)
GLUTAPI void APIENTRY glutMouseFunc(void(GLUTCALLBACK *func)(int button, int state, int x, int y))
GLUTAPI int APIENTRY glutBitmapLength(void *font, const unsigned char *string)
GLUTAPI int APIENTRY glutCreateWindow(const char *title)
GLUTAPI void * glutBitmapHelvetica12
Definition glut.h:336
GLUTAPI void APIENTRY glutKeyboardUpFunc(void(GLUTCALLBACK *func)(unsigned char key, int x, int y))
GLUTAPI void APIENTRY glutSetCursor(int cursor)
GLUTAPI void APIENTRY glutSolidTetrahedron(void)
GLUTAPI void * glutBitmapTimesRoman24
Definition glut.h:334
GLUTAPI void APIENTRY glutLeaveGameMode(void)
GLUTAPI void APIENTRY glutPostOverlayRedisplay(void)
GLUTAPI void APIENTRY glutTabletMotionFunc(void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY glutRemoveMenuItem(int item)
GLUTAPI void * glutBitmapHelvetica18
Definition glut.h:337