From faaa9c3cf896430db2698fe21e0526142503b61e Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 12 Apr 2011 22:44:18 +0100 Subject: [PATCH] Completed interger function links to GLSL man pages --- glm/core/func_integer.hpp | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/glm/core/func_integer.hpp b/glm/core/func_integer.hpp index ec0cd57e..b411b580 100644 --- a/glm/core/func_integer.hpp +++ b/glm/core/func_integer.hpp @@ -85,7 +85,8 @@ namespace glm //! offset and bits is greater than the number of bits used //! to store the operand. //! - //! (From GLSL 4.00.08 specification, section 8.8) + //! \li GLSL bitfieldExtract man page + //! \li GLSL 4.00.08 specification, section 8.8 template genIUType bitfieldExtract( genIUType const & Value, @@ -102,7 +103,8 @@ namespace glm //! offset and bits is greater than the number of bits used to //! store the operand. //! - //! (From GLSL 4.00.08 specification, section 8.8) + //! \li GLSL bitfieldInsert man page + //! \li GLSL 4.00.08 specification, section 8.8 template genIUType bitfieldInsert( genIUType const & Base, @@ -113,19 +115,25 @@ namespace glm //! Returns the reversal of the bits of value. //! The bit numbered n of the result will be taken from bit (bits - 1) - n of value, //! where bits is the total number of bits used to represent value. - //! (From GLSL 4.00.08 specification, section 8.8) + //! + //! \li GLSL bitfieldReverse man page + //! \li GLSL 4.00.08 specification, section 8.8 template genIUType bitfieldReverse(genIUType const & value); //! Returns the number of bits set to 1 in the binary representation of value. - //! (From GLSL 4.00.08 specification, section 8.8) + //! + //! \li GLSL bitCount man page + //! \li GLSL 4.00.08 specification, section 8.8 template class C> typename C::signed_type bitCount(C const & Value); //! Returns the bit number of the least significant bit set to //! 1 in the binary representation of value. //! If value is zero, -1 will be returned. - //! (From GLSL 4.00.08 specification, section 8.8) + //! + //! \li GLSL findLSB man page + //! \li GLSL 4.00.08 specification, section 8.8 template class C> typename C::signed_type findLSB(C const & Value); @@ -133,7 +141,9 @@ namespace glm //! For positive integers, the result will be the bit number of the most significant bit set to 1. //! For negative integers, the result will be the bit number of the most significant //! bit set to 0. For a value of zero or negative one, -1 will be returned. - //! (From GLSL 4.00.08 specification, section 8.8) + //! + //! \li GLSL findMSB man page + //! \li GLSL 4.00.08 specification, section 8.8 template class C> typename C::signed_type findMSB(C const & Value);