You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.7KB

  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. #ifndef FL_glu_H
  35. # define FL_glu_H
  36. # include "Enumerations.H" // for color names
  37. # ifdef WIN32
  38. # include <windows.h>
  39. # endif
  40. # ifndef APIENTRY
  41. # if defined(__CYGWIN__)
  42. # define APIENTRY __attribute__ ((__stdcall__))
  43. # else
  44. # define APIENTRY
  45. # endif
  46. # endif
  47. # ifdef __APPLE__
  48. # include <OpenGL/glu.h>
  49. # else
  50. # include <GL/glu.h>
  51. # endif
  52. #endif // !FL_glu_H
  53. //
  54. // End of "$Id: glu.h 7903 2010-11-28 21:06:39Z matt $".
  55. //