Fix bugs, docs, and structure in unsupported/ public headers

libeigen/eigen!2254

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-03-29 17:06:40 -07:00
parent bd276fbb28
commit 255f522e2e
17 changed files with 69 additions and 50 deletions

View File

@@ -18,10 +18,12 @@
#include <GL/gl.h>
#endif
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
namespace Eigen {
/**
* \defgroup OpenGLSUpport_Module OpenGL Support module
* \defgroup OpenGLSupport_Module OpenGL Support module
*
* This module provides wrapper functions for a couple of OpenGL functions
* which simplify the way to pass Eigen's object to openGL.
@@ -29,7 +31,7 @@ namespace Eigen {
*
* \code
* // You need to add path_to_eigen/unsupported to your include path.
* #include <Eigen/OpenGLSupport>
* #include <unsupported/Eigen/OpenGLSupport>
* // ...
* Vector3f x, y;
* Matrix3f rot;
@@ -347,4 +349,6 @@ EIGEN_GL_FUNC1_SPECIALIZATION_VEC(glUniform, GLint, const, double, 4, 4dv_ei)
} // namespace Eigen
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
#endif // EIGEN_OPENGL_MODULE_H