Warning, /include/Geant4/toolx/OpenGL is written in an unsupported language. File is not indexed.
0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003
0004 #ifndef toolx_OpenGL
0005 #define toolx_OpenGL
0006
0007 #if defined(__APPLE__)
0008 #include <TargetConditionals.h>
0009 #endif
0010
0011 #if TARGET_OS_IPHONE
0012 #include <OpenGLES/ES1/gl.h>
0013 #elif defined(ANDROID)
0014 #include <GLES/gl.h>
0015 #elif _WIN32
0016 #include <windows.h>
0017 #include <GL/gl.h>
0018 #elif __APPLE__
0019 #if defined(TOOLX_USE_GL_GL_H) || defined(TOOLS_USE_GL_GL_H)
0020 #include <GL/gl.h> //Macports X11 GL.
0021 #else
0022 #include <OpenGL/gl.h> //Apple/OpenGL.
0023 #endif
0024 #else
0025 #include <GL/gl.h>
0026 #endif
0027
0028 #endif