diff --git a/src/Magnum/Math/Matrix3.h b/src/Magnum/Math/Matrix3.h index f28ad8461..8b976746e 100644 --- a/src/Magnum/Math/Matrix3.h +++ b/src/Magnum/Math/Matrix3.h @@ -175,6 +175,7 @@ template class Matrix3: public Matrix3x3 { * @f] * @see @ref Matrix4::orthographicProjection(), * @ref Matrix4::perspectiveProjection() + * @m_keywords{gluOrtho2D()} */ static Matrix3 projection(const Vector2& size) { return scaling(2.0f/size); diff --git a/src/Magnum/Math/Matrix4.h b/src/Magnum/Math/Matrix4.h index 2d21bc21a..c62b660a3 100644 --- a/src/Magnum/Math/Matrix4.h +++ b/src/Magnum/Math/Matrix4.h @@ -272,6 +272,7 @@ template class Matrix4: public Matrix4x4 { * \end{pmatrix} * @f] * @see @ref perspectiveProjection(), @ref Matrix3::projection() + * @m_keywords{gluOrtho()} */ static Matrix4 orthographicProjection(const Vector2& size, T near, T far); @@ -300,6 +301,7 @@ template class Matrix4: public Matrix4x4 { * @f] * @see @ref orthographicProjection(), @ref Matrix3::projection(), * @ref Constants::inf() + * @m_keywords{gluPerspective()} */ static Matrix4 perspectiveProjection(const Vector2& size, T near, T far); @@ -329,6 +331,7 @@ template class Matrix4: public Matrix4x4 { * @f] * @see @ref orthographicProjection(), @ref Matrix3::projection(), * @ref Constants::inf() + * @m_keywords{gluPerspective()} */ static Matrix4 perspectiveProjection(Rad fov, T aspectRatio, T near, T far) { const T xyScale = 2*std::tan(T(fov)/2)*near;