global functions
glm::ceilMultiple(...)
genType glm::ceilMultiple(genType Source, genType Multiple)
Documentation from code comments
Higher multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::ceilMultiple(...)
vecType< T, P > glm::ceilMultiple(const vecType< T, P > &Source=P, const vecType< T, P > &Multiple=P)
Documentation from code comments
Higher multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::ceilPowerOfTwo(...)
vecType< T, P > glm::ceilPowerOfTwo(const vecType< T, P > &value=P)
Documentation from code comments
Return the power of two number which value is just higher the input value, round up to a power of two.
See also: gtc_round
glm::ceilPowerOfTwo(...)
genIUType glm::ceilPowerOfTwo(genIUType Value)
Documentation from code comments
Return the power of two number which value is just higher the input value, round up to a power of two.
See also: gtc_round
glm::floorMultiple(...)
genType glm::floorMultiple(genType Source, genType Multiple)
Documentation from code comments
Lower multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::floorMultiple(...)
vecType< T, P > glm::floorMultiple(const vecType< T, P > &Source=P, const vecType< T, P > &Multiple=P)
Documentation from code comments
Lower multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::floorPowerOfTwo(...)
vecType< T, P > glm::floorPowerOfTwo(const vecType< T, P > &value=P)
Documentation from code comments
Return the power of two number which value is just lower the input value, round down to a power of two.
See also: gtc_round
glm::floorPowerOfTwo(...)
genIUType glm::floorPowerOfTwo(genIUType Value)
Documentation from code comments
Return the power of two number which value is just lower the input value, round down to a power of two.
See also: gtc_round
glm::isMultiple(...)
vecType< bool, P > glm::isMultiple(const vecType< T, P > &Value=P, T Multiple)
Documentation from code comments
Return true if the 'Value' is a multiple of 'Multiple'.
See also: gtc_round
glm::isMultiple(...)
vecType< bool, P > glm::isMultiple(const vecType< T, P > &Value=P, const vecType< T, P > &Multiple=P)
Documentation from code comments
Return true if the 'Value' is a multiple of 'Multiple'.
See also: gtc_round
glm::isMultiple(...)
bool glm::isMultiple(genIUType Value, genIUType Multiple)
Documentation from code comments
Return true if the 'Value' is a multiple of 'Multiple'.
See also: gtc_round
glm::isPowerOfTwo(...)
vecType< bool, P > glm::isPowerOfTwo(const vecType< T, P > &value=P)
Documentation from code comments
Return true if the value is a power of two number.
See also: gtc_round
glm::isPowerOfTwo(...)
bool glm::isPowerOfTwo(genIUType Value)
Documentation from code comments
Return true if the value is a power of two number.
See also: gtc_round
glm::roundMultiple(...)
genType glm::roundMultiple(genType Source, genType Multiple)
Documentation from code comments
Lower multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::roundMultiple(...)
vecType< T, P > glm::roundMultiple(const vecType< T, P > &Source=P, const vecType< T, P > &Multiple=P)
Documentation from code comments
Lower multiple number of Source.
Type parameters:
genType Floating-point or integer scalar or vector types.
Parameters:
Source
Multiple Must be a null or positive value
See also: gtc_round
glm::roundPowerOfTwo(...)
vecType< T, P > glm::roundPowerOfTwo(const vecType< T, P > &value=P)
Documentation from code comments
Return the power of two number which value is the closet to the input value.
See also: gtc_round
glm::roundPowerOfTwo(...)
genIUType glm::roundPowerOfTwo(genIUType Value)
Documentation from code comments
Return the power of two number which value is the closet to the input value.
See also: gtc_round
Last updated 화요일, 19 11월 2024 17:26:16 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