gl.h 630 B

12345678910111213141516171819202122232425
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2013, 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_OPENGL_GL_H
  9. #define IGL_OPENGL_GL_H
  10. #ifdef IGL_OPENGL2_GL_H
  11. # error "igl/opengl2/gl.h already included"
  12. #endif
  13. // Always use this:
  14. // #include "gl.h"
  15. // Instead of:
  16. // #include <OpenGL/gl3.h>
  17. // or
  18. // #include <GL/gl.h>
  19. //
  20. #include <glad/glad.h>
  21. #endif