12 #define GL_GLEXT_PROTOTYPES 1    13 #if !defined(GLEW_STATIC)    17 #include <mrpt/config.h>    19 #if MRPT_HAS_OPENGL_GLUT    23 #pragma warning(disable : 4505)    30 #include <GLUT/glut.h>    31 #include <OpenGL/gl.h>    32 #include <OpenGL/glext.h>    34 #define glGenVertexArrays glGenVertexArraysAPPLE    35 #define glBindVertexArray glBindVertexArrayAPPLE    36 #define glDeleteVertexArrays glDeleteVertexArraysAPPLE    42 #include "glext/glext.h"    55 #ifndef GLUT_INIT_STATE    56 #define GLUT_INIT_STATE 0x007C    59 #ifdef HAVE_FREEGLUT_EXT_H    60 #include <GL/freeglut_ext.h>    66 void checkOpenGLErr_impl(
    67     unsigned int glErrorCode, 
const char* filename, 
int lineno);
    72 #define CHECK_OPENGL_ERROR()                                                  \    74         auto openglErr = glGetError();                                        \    75         if (openglErr != GL_NO_ERROR)                                         \    76             mrpt::opengl::checkOpenGLErr_impl(openglErr, __FILE__, __LINE__); \    79 #endif  // MRPT_HAS_OPENGL_GLUT The namespace for 3D scene representation and rendering.