diff --git a/glm/core/func_common.hpp b/glm/core/func_common.hpp index 5e06e24d..9832319c 100644 --- a/glm/core/func_common.hpp +++ b/glm/core/func_common.hpp @@ -46,21 +46,21 @@ namespace glm /// Returns x if x >= 0; otherwise, it returns -x. /// /// @see - GLSL abs man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 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. /// /// @see - GLSL sign man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 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. //! /// @see - GLSL floor man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType floor(genType const & x); @@ -68,7 +68,7 @@ namespace glm //! whose absolute value is not larger than the absolute value of x. //! /// @see - GLSL trunc man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType trunc(genType const & x); @@ -79,7 +79,7 @@ namespace glm //! same value as roundEven(x) for all values of x. //! /// @see - GLSL round man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType round(genType const & x); @@ -88,7 +88,7 @@ namespace glm //! integer. (Both 3.5 and 4.5 for x will return 4.0.) //! /// @see - GLSL roundEven man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType roundEven(genType const & x); @@ -96,14 +96,14 @@ namespace glm //! that is greater than or equal to x. //! /// @see - GLSL ceil man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType ceil(genType const & x); //! Return x - floor(x). //! /// @see - GLSL fract man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType fract(genType const & x); @@ -111,7 +111,7 @@ namespace glm //! for each component in x using the floating point value y. //! /// @see - GLSL mod man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType mod( genType const & x, @@ -121,7 +121,7 @@ namespace glm //! for each component in x using the floating point value y. //! /// @see - GLSL mod man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType mod( genType const & x, @@ -133,7 +133,7 @@ namespace glm //! sign as x. //! /// @see - GLSL modf man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType modf( genType const & x, @@ -142,7 +142,7 @@ namespace glm /// Returns y if y < x; otherwise, it returns x. /// /// @see - GLSL min man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType min( genType const & x, @@ -156,7 +156,7 @@ namespace glm /// Returns y if x < y; otherwise, it returns x. /// /// @see - GLSL max man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType max( genType const & x, @@ -171,7 +171,7 @@ namespace glm //! using the floating-point values minVal and maxVal. //! /// @see - GLSL clamp man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType clamp( genType const & x, @@ -202,7 +202,7 @@ namespace glm //! where a is a Boolean vector. /// /// @see - GLSL mix man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 /// /// @param[in] x Value to interpolate. /// @param[in] y Value to interpolate. @@ -232,7 +232,7 @@ namespace glm //! Returns 0.0 if x < edge, otherwise it returns 1.0. //! /// @see - GLSL step man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType step( genType const & edge, @@ -254,7 +254,7 @@ namespace glm //! Results are undefined if edge0 >= edge1. //! /// @see - GLSL smoothstep man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType smoothstep( genType const & edge0, @@ -274,7 +274,7 @@ namespace glm //! representations. //! /// @see - GLSL isnan man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template typename genType::bool_type isnan(genType const & x); @@ -285,7 +285,7 @@ namespace glm //! representations. //! /// @see - GLSL isinf man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template typename genType::bool_type isinf(genType const & x); @@ -294,7 +294,7 @@ namespace glm //! value's bit-level representation is preserved. //! /// @see - GLSL floatBitsToInt man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genIType floatBitsToInt(genType const & value); @@ -303,7 +303,7 @@ namespace glm //! value's bit-level representation is preserved. //! /// @see - GLSL floatBitsToUint man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genUType floatBitsToUint(genType const & value); @@ -314,7 +314,7 @@ namespace glm //! the bit-level representation is preserved. //! /// @see - GLSL intBitsToFloat man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType intBitsToFloat(genIType const & value); @@ -325,14 +325,14 @@ namespace glm //! the bit-level representation is preserved. //! /// @see - GLSL uintBitsToFloat man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType uintBitsToFloat(genUType const & value); //! Computes and returns a * b + c. //! /// @see - GLSL fma man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType fma(genType const & a, genType const & b, genType const & c); @@ -347,7 +347,7 @@ namespace glm //! infinity or is not a number, the results are undefined. //! /// @see - GLSL frexp man page - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType frexp(genType const & x, genIType & exp); @@ -359,7 +359,7 @@ namespace glm //! floating-point type, the result is undefined. //! /// @see - GLSL ldexp man page; - /// @see - GLSL 4.10.6 specification, section 8.3 + /// @see - GLSL 4.20.8 specification, section 8.3 template genType ldexp(genType const & x, genIType const & exp); diff --git a/glm/core/func_exponential.hpp b/glm/core/func_exponential.hpp index 37e1053e..b59f191f 100644 --- a/glm/core/func_exponential.hpp +++ b/glm/core/func_exponential.hpp @@ -25,7 +25,7 @@ /// @date 2008-08-08 / 2011-06-14 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.2 +/// @see - GLSL 4.20.8 specification, section 8.2 /// /// @defgroup core_func_exponential Exponential functions /// @ingroup core @@ -44,14 +44,14 @@ namespace glm /// Returns x raised to the y power. /// /// @see - GLSL pow man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType pow(genType const & x, genType const & y); /// Returns the natural exponentiation of x, i.e., e^x. /// /// @see - GLSL exp man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType exp(genType const & x); @@ -60,14 +60,14 @@ namespace glm /// Results are undefined if x <= 0. /// /// @see - GLSL log man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType log(genType const & x); /// Returns 2 raised to the x power. /// /// @see - GLSL exp2 man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType exp2(genType const & x); @@ -75,21 +75,21 @@ namespace glm /// which satisfies the equation x = 2 ^ y. /// /// @see - GLSL log2 man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType log2(genType const & x); /// Returns the positive square root of x. /// /// @see - GLSL sqrt man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType sqrt(genType const & x); /// Returns the reciprocal of the positive square root of x. /// /// @see - GLSL inversesqrt man page - /// @see - GLSL 4.10.6 specification, section 8.2 + /// @see - GLSL 4.20.8 specification, section 8.2 template genType inversesqrt(genType const & x); diff --git a/glm/core/func_geometric.hpp b/glm/core/func_geometric.hpp index c0f03b88..9cea45de 100644 --- a/glm/core/func_geometric.hpp +++ b/glm/core/func_geometric.hpp @@ -25,7 +25,7 @@ /// @date 2008-08-03 / 2011-06-14 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.5 +/// @see - GLSL 4.20.8 specification, section 8.5 /// /// @defgroup core_func_geometric Geometric functions /// @ingroup core @@ -44,7 +44,7 @@ namespace glm /// Returns the length of x, i.e., sqrt(x * x). /// /// @see - GLSL length man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template typename genType::value_type length( genType const & x); @@ -52,7 +52,7 @@ namespace glm /// Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). /// /// @see - GLSL distance man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template typename genType::value_type distance( genType const & p0, @@ -61,7 +61,7 @@ namespace glm /// Returns the dot product of x and y, i.e., result = x * y. /// /// @see - GLSL dot man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template typename genType::value_type dot( genType const & x, @@ -70,7 +70,7 @@ namespace glm /// Returns the cross product of x and y. /// /// @see - GLSL cross man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template detail::tvec3 cross( detail::tvec3 const & x, @@ -79,7 +79,7 @@ namespace glm /// Returns a vector in the same direction as x but with length of 1. /// /// @see - GLSL normalize man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template genType normalize( genType const & x); @@ -87,7 +87,7 @@ namespace glm /// If dot(Nref, I) < 0.0, return N, otherwise, return -N. /// /// @see - GLSL faceforward man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template genType faceforward( genType const & N, @@ -98,7 +98,7 @@ namespace glm /// returns the reflection direction : result = I - 2.0 * dot(N, I) * N. /// /// @see - GLSL reflect man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template genType reflect( genType const & I, @@ -109,7 +109,7 @@ namespace glm /// return the refraction vector. /// /// @see - GLSL refract man page - /// @see - GLSL 4.10.6 specification, section 8.5 + /// @see - GLSL 4.20.8 specification, section 8.5 template genType refract( genType const & I, diff --git a/glm/core/func_integer.hpp b/glm/core/func_integer.hpp index 700f5ec4..6f30d4f2 100644 --- a/glm/core/func_integer.hpp +++ b/glm/core/func_integer.hpp @@ -25,7 +25,7 @@ /// @date 2010-03-17 / 2011-06-18 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.8 +/// @see - GLSL 4.20.8 specification, section 8.8 /// /// @defgroup core_func_integer Integer functions /// @ingroup core @@ -48,7 +48,7 @@ namespace glm //! less than pow(2, 32), or to 1 otherwise. //! /// @see - GLSL uaddCarry man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template genUType uaddCarry( genUType const & x, @@ -60,7 +60,7 @@ namespace glm //! otherwise. The value borrow is set to 0 if x >= y, or to 1 otherwise. //! /// @see - GLSL usubBorrow man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template genUType usubBorrow( genUType const & x, @@ -72,7 +72,7 @@ namespace glm //! The 32 most-significant bits are returned in msb. //! /// @see - GLSL umulExtended man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template void umulExtended( genUType const & x, @@ -85,7 +85,7 @@ namespace glm //! The 32 most-significant bits are returned in msb. //! /// @see - GLSL imulExtended man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template void imulExtended( genIType const & x, @@ -105,7 +105,7 @@ namespace glm //! to store the operand. //! /// @see - GLSL bitfieldExtract man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template genIUType bitfieldExtract( genIUType const & Value, @@ -123,7 +123,7 @@ namespace glm //! store the operand. //! /// @see - GLSL bitfieldInsert man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template genIUType bitfieldInsert( genIUType const & Base, @@ -136,14 +136,14 @@ namespace glm //! where bits is the total number of bits used to represent value. //! /// @see - GLSL bitfieldReverse man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template genIUType bitfieldReverse(genIUType const & value); //! Returns the number of bits set to 1 in the binary representation of value. //! /// @see - GLSL bitCount man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template class C> typename C::signed_type bitCount(C const & Value); @@ -152,7 +152,7 @@ namespace glm //! If value is zero, -1 will be returned. //! /// @see - GLSL findLSB man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template class C> typename C::signed_type findLSB(C const & Value); @@ -162,7 +162,7 @@ namespace glm //! bit set to 0. For a value of zero or negative one, -1 will be returned. //! /// @see - GLSL findMSB man page - /// @see - GLSL 4.10.6 specification, section 8.8 + /// @see - GLSL 4.20.8 specification, section 8.8 template class C> typename C::signed_type findMSB(C const & Value); diff --git a/glm/core/func_matrix.hpp b/glm/core/func_matrix.hpp index 01aa08ad..d50bbc13 100644 --- a/glm/core/func_matrix.hpp +++ b/glm/core/func_matrix.hpp @@ -25,7 +25,7 @@ /// @date 2008-08-03 / 2011-06-15 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.6 +/// @see - GLSL 4.20.8 specification, section 8.6 /// /// @defgroup core_func_matrix Matrix functions /// @ingroup core @@ -49,7 +49,7 @@ namespace glm /// result[i][j] is the scalar product of x[i][j] and y[i][j]. /// /// @see - GLSL matrixCompMult man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template matType matrixCompMult( matType const & x, @@ -60,7 +60,7 @@ namespace glm /// and does a linear algebraic matrix multiply c * r. /// /// @see - GLSL outerProduct man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template matType outerProduct( vecType const & c, @@ -69,7 +69,7 @@ namespace glm /// Returns the transposed matrix of x /// /// @see - GLSL transpose man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template typename matType::transpose_type transpose( matType const & x); @@ -77,7 +77,7 @@ namespace glm /// Return the determinant of a mat2 matrix. /// /// @see - GLSL determinant man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template typename detail::tmat2x2::value_type determinant( detail::tmat2x2 const & m); @@ -85,7 +85,7 @@ namespace glm /// Return the determinant of a mat3 matrix. /// /// @see - GLSL determinant man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template typename detail::tmat3x3::value_type determinant( detail::tmat3x3 const & m); @@ -93,7 +93,7 @@ namespace glm /// Return the determinant of a mat4 matrix. /// /// @see - GLSL determinant man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template typename detail::tmat4x4::value_type determinant( detail::tmat4x4 const & m); @@ -101,7 +101,7 @@ namespace glm /// Return the inverse of a mat2 matrix. /// /// @see - GLSL inverse man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template detail::tmat2x2 inverse( detail::tmat2x2 const & m); @@ -109,7 +109,7 @@ namespace glm /// Return the inverse of a mat3 matrix. /// /// @see - GLSL inverse man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template detail::tmat3x3 inverse( detail::tmat3x3 const & m); @@ -117,7 +117,7 @@ namespace glm /// Return the inverse of a mat4 matrix. /// /// @see - GLSL inverse man page - /// @see - GLSL 4.10.6 specification, section 8.6 + /// @see - GLSL 4.20.8 specification, section 8.6 template detail::tmat4x4 inverse( detail::tmat4x4 const & m); diff --git a/glm/core/func_noise.hpp b/glm/core/func_noise.hpp index 1ed23442..5e095af2 100644 --- a/glm/core/func_noise.hpp +++ b/glm/core/func_noise.hpp @@ -25,7 +25,7 @@ /// @date 2008-08-01 / 2011-06-18 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.11 +/// @see - GLSL 4.20.8 specification, section 8.13 /// /// @defgroup core_func_noise Noise functions /// @ingroup core @@ -46,28 +46,28 @@ namespace glm /// Returns a 1D noise value based on the input value x. /// /// @see - GLSL noise1 man page - /// @see - GLSL 4.10.6 specification, section 8.11 + /// @see - GLSL 4.20.8 specification, section 8.13 template typename genType::value_type noise1(genType const & x); /// Returns a 2D noise value based on the input value x. /// /// @see - GLSL noise2 man page - /// @see - GLSL 4.10.6 specification, section 8.11 + /// @see - GLSL 4.20.8 specification, section 8.13 template detail::tvec2 noise2(genType const & x); /// Returns a 3D noise value based on the input value x. /// /// @see - GLSL noise3 man page - /// @see - GLSL 4.10.6 specification, section 8.11 + /// @see - GLSL 4.20.8 specification, section 8.13 template detail::tvec3 noise3(genType const & x); /// Returns a 4D noise value based on the input value x. /// /// @see - GLSL noise4 man page - /// @see - GLSL 4.10.6 specification, section 8.11 + /// @see - GLSL 4.20.8 specification, section 8.13 template detail::tvec4 noise4(genType const & x); diff --git a/glm/core/func_packing.hpp b/glm/core/func_packing.hpp index 7907eadc..6281c15c 100644 --- a/glm/core/func_packing.hpp +++ b/glm/core/func_packing.hpp @@ -25,7 +25,7 @@ /// @date 2010-03-17 / 2011-06-15 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.4 +/// @see - GLSL 4.20.8 specification, section 8.4 /// /// @defgroup core_func_packing Floating-Point Pack and Unpack Functions /// @ingroup core @@ -51,7 +51,7 @@ namespace glm //! the last component will be written to the most significant bits. //! /// @see - GLSL packUnorm2x16 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::uint32 packUnorm2x16(detail::tvec2 const & v); //! First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. @@ -64,7 +64,7 @@ namespace glm //! the last component will be written to the most significant bits. //! /// @see - GLSL packUnorm4x8 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::uint32 packUnorm4x8(detail::tvec4 const & v); //! First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. @@ -77,7 +77,7 @@ namespace glm //! the last component will be written to the most significant bits. //! /// @see - GLSL packSnorm4x8 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::uint32 packSnorm4x8(detail::tvec4 const & v); //! First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. @@ -90,7 +90,7 @@ namespace glm //! the last component will be extracted from the most significant bits. //! /// @see - GLSL unpackUnorm2x16 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::tvec2 unpackUnorm2x16(detail::uint32 const & p); //! First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. @@ -103,7 +103,7 @@ namespace glm //! the last component will be extracted from the most significant bits. //! /// @see - GLSL unpackUnorm4x8 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::tvec4 unpackUnorm4x8(detail::uint32 const & p); //! First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. @@ -116,7 +116,7 @@ namespace glm //! the last component will be extracted from the most significant bits. //! /// @see - GLSL unpackSnorm4x8 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::tvec4 unpackSnorm4x8(detail::uint32 const & p); //! Returns a double-precision value obtained by packing the components of v into a 64-bit value. @@ -126,7 +126,7 @@ namespace glm //! the second component specifies the 32 most significant bits. //! /// @see - GLSL packDouble2x32 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 double packDouble2x32(detail::tvec2 const & v); //! Returns a two-component unsigned integer vector representation of v. @@ -135,7 +135,7 @@ namespace glm //! the second component consists the 32 most significant bits. //! /// @see - GLSL unpackDouble2x32 man page - /// @see - GLSL 4.10.6 specification, section 8.4 + /// @see - GLSL 4.20.8 specification, section 8.4 detail::tvec2 unpackDouble2x32(double const & v); /// @} diff --git a/glm/core/func_trigonometric.hpp b/glm/core/func_trigonometric.hpp index 36613aa0..f6e7c98d 100644 --- a/glm/core/func_trigonometric.hpp +++ b/glm/core/func_trigonometric.hpp @@ -25,7 +25,7 @@ /// @date 2008-08-01 / 2011-06-15 /// @author Christophe Riccio /// -/// @see - GLSL 4.10.6 specification, section 8.1 +/// @see - GLSL 4.20.8 specification, section 8.1 /// /// @defgroup core_func_trigonometric Angle and Trigonometry Functions /// @ingroup core @@ -48,14 +48,14 @@ namespace glm //! Converts degrees to radians and returns the result. //! /// @see - GLSL radians man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType radians(genType const & degrees); //! Converts radians to degrees and returns the result. //! /// @see - GLSL degrees man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType degrees(genType const & radians); @@ -63,7 +63,7 @@ namespace glm //! The values returned by this function will range from [-1, 1]. //! /// @see - GLSL sin man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType sin(genType const & angle); @@ -71,14 +71,14 @@ namespace glm //! The values returned by this function will range from [-1, 1]. //! /// @see - GLSL cos man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType cos(genType const & angle); //! The standard trigonometric tangent function. //! /// @see - GLSL tan man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType tan(genType const & angle); @@ -87,7 +87,7 @@ namespace glm //! Results are undefined if |x| > 1. //! /// @see - GLSL asin man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType asin(genType const & x); @@ -96,7 +96,7 @@ namespace glm //! Results are undefined if |x| > 1. //! /// @see - GLSL acos man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType acos(genType const & x); @@ -107,7 +107,7 @@ namespace glm //! if x and y are both 0. //! /// @see - GLSL atan man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType atan(genType const & y, genType const & x); @@ -115,35 +115,35 @@ namespace glm //! The range of values returned by this function is [-PI/2, PI/2]. //! /// @see - GLSL atan man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType atan(genType const & y_over_x); //! Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2 //! /// @see - GLSL sinh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType sinh(genType const & angle); //! Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2 //! /// @see - GLSL cosh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType cosh(genType const & angle); //! Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) //! /// @see - GLSL tanh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType tanh(genType const & angle); //! Arc hyperbolic sine; returns the inverse of sinh. //! /// @see - GLSL asinh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType asinh(genType const & x); @@ -151,7 +151,7 @@ namespace glm //! of cosh. Results are undefined if x < 1. //! /// @see - GLSL acosh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType acosh(genType const & x); @@ -159,7 +159,7 @@ namespace glm //! Results are undefined if abs(x) >= 1. //! /// @see - GLSL atanh man page - /// @see - GLSL 4.10.6 specification, section 8.1 + /// @see - GLSL 4.20.8 specification, section 8.1 template genType atanh(genType const & x);