Mantid
Loading...
Searching...
No Matches
Framework
Geometry
inc
MantidGeometry
Rendering
OpenGL_Headers.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2011 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
/* Use this header to include OpenGL. It handles the fact that the path on the
10
Mac is different.
11
12
@author Russell Taylor, Tessella
13
@date 06/09/2010
14
*/
15
16
#ifdef __APPLE__
17
18
#include <OpenGL/gl.h>
19
#include <OpenGL/glu.h>
20
21
#else
22
23
// On Windows, this has to be included before the OpenGL headers
24
#ifdef _WIN32
25
#include "windows.h"
26
#endif
27
28
#include <GL/gl.h>
29
#include <GL/glu.h>
30
31
#endif
Generated on Tue Jan 3 2023 11:57:48 for Mantid by
1.9.5