global functions
glm::factorial(...)
genType glm::factorial(const genType &x)
Documentation from code comments
Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension.
glm::floor_log2(...)
unsigned int glm::floor_log2(unsigned int x)
Documentation from code comments
Returns the floor log2 of x. From GLM_GTX_integer extension.
glm::mod(...)
int glm::mod(int x, int y)
Documentation from code comments
Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.
glm::mod(...)
glm::uint glm::mod(glm::uint x, glm::uint y)
Documentation from code comments
Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.
glm::nlz(...)
glm::uint glm::nlz(glm::uint x)
Documentation from code comments
Returns the number of leading zeros. From GLM_GTX_integer extension.
glm::pow(...)
int glm::pow(int x, int y)
Documentation from code comments
Returns x raised to the y power. From GLM_GTX_integer extension.
glm::pow(...)
glm::uint glm::pow(glm::uint x, glm::uint y)
Documentation from code comments
Returns x raised to the y power. From GLM_GTX_integer extension.
glm::sqrt(...)
int glm::sqrt(int x)
Documentation from code comments
Returns the positive square root of x. From GLM_GTX_integer extension.
glm::sqrt(...)
glm::uint glm::sqrt(glm::uint x)
Documentation from code comments
Returns the positive square root of x. From GLM_GTX_integer extension.
Last updated 金曜日, 15 9月 2023 21:25:19 UTC - 89b7d17faa77e847b7de814f7dcea89eeca38653
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