Eigen-unsupported  5.0.1-dev+7c7d8473
 
Loading...
Searching...
No Matches
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. Here is an example:

// You need to add path_to_eigen/unsupported to your include path.
#include <Eigen/OpenGLSupport>
// ...
Vector3f x, y;
glVertex(y + x * rot);
Quaternion q;
glRotate(q);
// ...
Matrix< float, 3, 1 > Vector3f
Matrix< float, 3, 3 > Matrix3f