glu.h 691 B

123456789101112131415161718192021222324252627282930
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2017 Alec Jacobson <alecjacobson@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. #ifndef IGL_OPENGL2_GLU_H
  9. #define IGL_OPENGL2_GLU_H
  10. #ifdef IGL_OPENGL_GLU_H
  11. # error "igl/opengl/glu.h already included"
  12. #endif
  13. // Always use this:
  14. // #include "glu.h"
  15. // Instead of:
  16. // #include <OpenGL/glu.h>
  17. // or
  18. // #include <GL/glu.h>
  19. //
  20. #ifdef __APPLE__
  21. # include <OpenGL/glu.h>
  22. #else
  23. # include <GL/glu.h>
  24. #endif
  25. #endif