2006-08-25 14:05:20 +04:00
|
|
|
//
|
|
|
|
// GLu header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2010-11-29 00:06:39 +03:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
2006-08-25 14:05:20 +04:00
|
|
|
//
|
|
|
|
// You must include this instead of GL/gl.h to get the Microsoft
|
|
|
|
// APIENTRY stuff included (from <windows.h>) prior to the OpenGL
|
|
|
|
// header files.
|
|
|
|
//
|
|
|
|
// This file also provides "missing" OpenGL functions, and
|
|
|
|
// gl_start() and gl_finish() to allow OpenGL to be used in any window
|
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
2006-08-25 14:05:20 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2006-08-25 14:05:20 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
2006-08-25 14:05:20 +04:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef FL_glu_H
|
|
|
|
# define FL_glu_H
|
|
|
|
|
|
|
|
# include "Enumerations.H" // for color names
|
2018-02-09 17:39:42 +03:00
|
|
|
# ifdef _WIN32
|
2006-08-25 14:05:20 +04:00
|
|
|
# include <windows.h>
|
|
|
|
# endif
|
|
|
|
# ifndef APIENTRY
|
|
|
|
# if defined(__CYGWIN__)
|
|
|
|
# define APIENTRY __attribute__ ((__stdcall__))
|
|
|
|
# else
|
|
|
|
# define APIENTRY
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
|
2016-02-11 15:02:36 +03:00
|
|
|
# ifdef __APPLE__ // PORTME: OpenGL Path abstraction
|
2006-08-25 14:05:20 +04:00
|
|
|
# include <OpenGL/glu.h>
|
|
|
|
# else
|
|
|
|
# include <GL/glu.h>
|
|
|
|
# endif
|
|
|
|
|
|
|
|
#endif // !FL_glu_H
|