FLTK 1.3.9: glu.h Source File

FLTK 1.3.9

Loading...
Searching...
No Matches
glu.h
1//
2// "$Id$"
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. Distribution and use rights are outlined in
16// the file "COPYING" which should have been included with this file. If this
17// file is missing or damaged, see the license at:
18//
19// http://www.fltk.org/COPYING.php
20//
21// Please report all bugs and problems on the following page:
22//
23// http://www.fltk.org/str.php
24//
25
26#ifndef FL_glu_H
27# define FL_glu_H
28
29# include "Enumerations.H" // for color names
30# ifdef WIN32
31# include <windows.h>
32# endif
33# ifndef APIENTRY
34# if defined(__CYGWIN__)
35# define APIENTRY __attribute__ ((__stdcall__))
36# else
37# define APIENTRY
38# endif
39# endif
40
41# ifdef __APPLE__
42# include <OpenGL/glu.h>
43# else
44# include <GL/glu.h>
45# endif
46
47#endif // !FL_glu_H
48
49//
50// End of "$Id$".
51//
Enumerations.H
This file contains type definitions and general enumerations.