Eigen-Contrib  5.0.1
 
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/contrib to your include path.
#include <contrib/Eigen/OpenGLSupport>
// ...
Vector3f x, y;
glVertex(y + x * rot);
Quaternion q;
glRotate(q);
// ...
Matrix< float, 3, 1 > Vector3f
Matrix< float, 3, 3 > Matrix3f