FLTK 1.4.5: glu.h Source File

FLTK 1.4.5

Loading...
Searching...
No Matches
glu.h
1//
2// GLu header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2010 by Bill Spitzak and others.
5//
6// You must include this instead of GL/gl.h to get the Microsoft
7// APIENTRY stuff included (from <windows.h>) prior to the OpenGL
8// header files.
9//
10// This file also provides "missing" OpenGL functions, and
11// gl_start() and gl_finish() to allow OpenGL to be used in any window
12//
13// This library is free software. Distribution and use rights are outlined in
14// the file "COPYING" which should have been included with this file. If this
15// file is missing or damaged, see the license at:
16//
17// https://www.fltk.org/COPYING.php
18//
19// Please see the following page on how to report bugs and issues:
20//
21// https://www.fltk.org/bugs.php
22//
23
24#ifndef FL_glu_H
25# define FL_glu_H
26
27# include "Enumerations.H" // for color names
28# ifdef _WIN32
29# include <windows.h>
30# endif
31# ifndef APIENTRY
32# if defined(__CYGWIN__)
33# define APIENTRY __attribute__ ((__stdcall__))
34# else
35# define APIENTRY
36# endif
37# endif
38
39# ifdef __APPLE__ // PORTME: OpenGL Path abstraction
40# include <OpenGL/glu.h>
41# else
42# include <GL/glu.h>
43# endif
44
45#endif // !FL_glu_H
Enumerations.H
This file contains type definitions and general enumerations.