diff --git a/glm/core/func_matrix.hpp b/glm/core/func_matrix.hpp index 4ea7ce07..6a60b475 100644 --- a/glm/core/func_matrix.hpp +++ b/glm/core/func_matrix.hpp @@ -26,7 +26,9 @@ namespace glm //! Multiply matrix x by matrix y component-wise, i.e., //! result[i][j] is the scalar product of x[i][j] and y[i][j]. - //! (From GLSL 1.30.08 specification, section 8.5) + //! + //! \li GLSL matrixCompMult man page + //! \li GLSL 1.30.08 specification, section 8.5 template matType matrixCompMult( matType const & x, @@ -35,50 +37,66 @@ namespace glm //! Treats the first parameter c as a column vector //! and the second parameter r as a row vector //! and does a linear algebraic matrix multiply c * r. - //! (From GLSL 1.30.08 specification, section 8.5) - template + //! + //! \li GLSL outerProduct man page + //! \li GLSL 1.30.08 specification, section 8.5 + template matType outerProduct( vecType const & c, vecType const & r); //! Returns the transposed matrix of x - //! (From GLSL 1.30.08 specification, section 8.5) - template + //! + //! \li GLSL transpose man page + //! \li GLSL 1.30.08 specification, section 8.5 + template typename matType::transpose_type transpose( matType const & x); //! Return the determinant of a mat2 matrix. - //! (From GLSL 1.50.09 specification, section 8.5).. + //! + //! \li GLSL determinant man page + //! \li GLSL 1.30.08 specification, section 8.5 template typename detail::tmat2x2::value_type determinant( detail::tmat2x2 const & m); //! Return the determinant of a mat3 matrix. - //! (From GLSL 1.50.09 specification, section 8.5). + //! + //! \li GLSL determinant man page + //! \li GLSL 1.30.08 specification, section 8.5 template typename detail::tmat3x3::value_type determinant( detail::tmat3x3 const & m); //! Return the determinant of a mat4 matrix. - //! (From GLSL 1.50.09 specification, section 8.5). - template + //! + //! \li GLSL determinant man page + //! \li GLSL 1.30.08 specification, section 8.5 + template typename detail::tmat4x4::value_type determinant( detail::tmat4x4 const & m); //! Return the inverse of a mat2 matrix. - //! (From GLSL 1.40.07 specification, section 8.5). + //! + //! \li GLSL inverse man page + //! \li GLSL 1.40.07 specification, section 8.5 template detail::tmat2x2 inverse( detail::tmat2x2 const & m); //! Return the inverse of a mat3 matrix. - //! (From GLSL 1.40.07 specification, section 8.5). + //! + //! \li GLSL inverse man page + //! \li GLSL 1.40.07 specification, section 8.5 template detail::tmat3x3 inverse( detail::tmat3x3 const & m); //! Return the inverse of a mat4 matrix. - //! (From GLSL 1.40.07 specification, section 8.5). + //! + //! \li GLSL inverse man page + //! \li GLSL 1.40.07 specification, section 8.5 template detail::tmat4x4 inverse( detail::tmat4x4 const & m);