FLTK 1.3.0
glu.h
1 //
2 // "$Id: glu.h 7903 2010-11-28 21:06:39Z matt $"
3 //
4 // GLu header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // You must include this instead of GL/gl.h to get the Microsoft
9 // APIENTRY stuff included (from <windows.h>) prior to the OpenGL
10 // header files.
11 //
12 // This file also provides "missing" OpenGL functions, and
13 // gl_start() and gl_finish() to allow OpenGL to be used in any window
14 //
15 // This library is free software; you can redistribute it and/or
16 // modify it under the terms of the GNU Library General Public
17 // License as published by the Free Software Foundation; either
18 // version 2 of the License, or (at your option) any later version.
19 //
20 // This library is distributed in the hope that it will be useful,
21 // but WITHOUT ANY WARRANTY; without even the implied warranty of
22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 // Library General Public License for more details.
24 //
25 // You should have received a copy of the GNU Library General Public
26 // License along with this library; if not, write to the Free Software
27 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
28 // USA.
29 //
30 // Please report all bugs and problems on the following page:
31 //
32 // http://www.fltk.org/str.php
33 //
34 
35 #ifndef FL_glu_H
36 # define FL_glu_H
37 
38 # include "Enumerations.H" // for color names
39 # ifdef WIN32
40 # include <windows.h>
41 # endif
42 # ifndef APIENTRY
43 # if defined(__CYGWIN__)
44 # define APIENTRY __attribute__ ((__stdcall__))
45 # else
46 # define APIENTRY
47 # endif
48 # endif
49 
50 # ifdef __APPLE__
51 # include <OpenGL/glu.h>
52 # else
53 # include <GL/glu.h>
54 # endif
55 
56 #endif // !FL_glu_H
57 
58 //
59 // End of "$Id: glu.h 7903 2010-11-28 21:06:39Z matt $".
60 //
This file contains type definitions and general enumerations.