--- a/src/types/matrix.h Sat Feb 18 02:02:29 2017 +0200 +++ b/src/types/matrix.h Mon Feb 20 07:56:21 2017 +0200 @@ -18,6 +18,7 @@ #pragma once #include <QString> +#include "../glShared.h" /* * A mathematical 3 x 3 matrix @@ -53,6 +54,7 @@ const double& operator()(int row, int column) const; static const Matrix identity; + static Matrix fromRotationMatrix(const GLRotationMatrix& rotationMatrix); private: double m_values[9];