diff --git a/glm/core/func_common.hpp b/glm/core/func_common.hpp index 00f9333c..10d917f3 100644 --- a/glm/core/func_common.hpp +++ b/glm/core/func_common.hpp @@ -27,23 +27,31 @@ namespace glm ///@{ //! Returns x if x >= 0; otherwise, it returns -x. - //! (From GLSL 1.30.08 specification, section 8.3) + //! + //! \li GLSL abs man page + //! \li GLSL 1.30.08 specification, section 8.3 template genFIType abs(genFIType const & x); //! Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. - //! (From GLSL 1.30.08 specification, section 8.3) + //! + //! \li GLSL sign man page + //! \li GLSL 1.30.08 specification, section 8.3 template genFIType sign(genFIType const & x); //! Returns a value equal to the nearest integer that is less then or equal to x. - //! (From GLSL 1.30.08 specification, section 8.3) + //! + //! \li GLSL floor man page + //! \li GLSL 1.30.08 specification, section 8.3 template genType floor(genType const & x); //! Returns a value equal to the nearest integer to x //! whose absolute value is not larger than the absolute value of x. - //! (From GLSL 1.30.08 specification, section 8.3) + //! + //! \li GLSL trunc man page + //! \li GLSL 1.30.08 specification, section 8.3 template genType trunc(genType const & x); @@ -52,7 +60,9 @@ namespace glm //! implementation, presumably the direction that is fastest. //! This includes the possibility that round(x) returns the //! same value as roundEven(x) for all values of x. - //! (From GLSL 1.30.08 specification, section 8.3) + //! + //! \li GLSL round man page + //! \li GLSL 1.30.08 specification, section 8.3 template genType round(genType const & x);