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 星期二, 19 十一月 2024 17:26:00 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