Warning, /include/Geant4/toolx/glbuf 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_glbuf
0005 #define toolx_glbuf
0006
0007 //define of TOOLX_HAS_GL_VBO decided in the build systems.
0008
0009 // To have prototypes of glGenBuffers,etc...
0010
0011 #ifdef TOOLX_HAS_GL_VBO
0012
0013 #if defined(__APPLE__)
0014 #include <TargetConditionals.h>
0015 #endif
0016
0017 #if TARGET_OS_IPHONE
0018 #elif defined(ANDROID)
0019 #elif _WIN32
0020 #include <GL/glext.h>
0021 #elif __APPLE__
0022 #include <OpenGL/glext.h> //Cocoa
0023 #else
0024 #include <GL/glext.h>
0025 #endif
0026
0027 #endif //TOOLX_HAS_GL_VBO
0028
0029 #endif