global functions
glm::compAdd(...)
typename genType::value_type glm::compAdd(const genType &v)
Documentation from code comments
Add all vector components together.
See also: gtx_component_wise
glm::compMax(...)
typename genType::value_type glm::compMax(const genType &v)
Documentation from code comments
Find the maximum value between single vector components.
See also: gtx_component_wise
glm::compMin(...)
typename genType::value_type glm::compMin(const genType &v)
Documentation from code comments
Find the minimum value between single vector components.
See also: gtx_component_wise
glm::compMul(...)
typename genType::value_type glm::compMul(const genType &v)
Documentation from code comments
Multiply all vector components together.
See also: gtx_component_wise
glm::compNormalize(...)
vecType< floatType, P > glm::compNormalize(const vecType< T, P > &v=P)
Documentation from code comments
Convert an integer vector to a normalized float vector. If the parameter value type is already a floating precision type, the value is passed through.
See also: gtx_component_wise
glm::compScale(...)
vecType< T, P > glm::compScale(const vecType< floatType, P > &v=P)
Documentation from code comments
Convert a normalized float vector to an integer vector. If the parameter value type is already a floating precision type, the value is passed through.
See also: gtx_component_wise
Last updated 星期二, 19 十一月 2024 17:26:10 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