global functions
glm::exp(...)
vecType< T, P > glm::exp(const vecType< T, P > &v=P)
Documentation from code comments
Returns the natural exponentiation of x, i.e., e^x.
Parameters:
v exp function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL exp man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
glm::exp2(...)
vecType< T, P > glm::exp2(const vecType< T, P > &v=P)
Documentation from code comments
Returns 2 raised to the v power.
Parameters:
v exp2 function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL exp2 man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
glm::inversesqrt(...)
vecType< T, P > glm::inversesqrt(const vecType< T, P > &v=P)
Documentation from code comments
Returns the reciprocal of the positive square root of v.
Parameters:
v inversesqrt function is defined for input values of v defined in the range [0, inf+) in the limit of the type precision.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL inversesqrt man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
glm::log(...)
vecType< T, P > glm::log(const vecType< T, P > &v=P)
Documentation from code comments
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y. Results are undefined if v <= 0.
Parameters:
v log function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL log man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
glm::log2(...)
vecType< T, P > glm::log2(const vecType< T, P > &v=P)
Documentation from code comments
Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y.
Parameters:
v log2 function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL log2 man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
glm::pow(...)
vecType< T, P > glm::pow(const vecType< T, P > &base=P, const vecType< T, P > &exponent=P)
Documentation from code comments
Returns 'base' raised to the power 'exponent'.
Parameters:
base Floating point value. pow function is defined for input values of 'base' defined in the range (inf-, inf+) in the limit of the type precision.
exponent Floating point value representing the 'exponent'.
Type parameters:
genType Floating-point scalar or vector types.
See also: GLSL pow man page
See also: GLSL 4.20.8 specification, section 8.2 Exponential Functions
Last updated 화요일, 19 11월 2024 17:26:02 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue