41 #include "../detail/setup.hpp"
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_component_wise extension included")
54 template <
typename genType>
55 GLM_FUNC_DECL
typename genType::value_type
compAdd(
60 template <
typename genType>
61 GLM_FUNC_DECL
typename genType::value_type
compMul(
66 template <
typename genType>
67 GLM_FUNC_DECL
typename genType::value_type
compMin(
72 template <
typename genType>
73 GLM_FUNC_DECL
typename genType::value_type
compMax(
79 #include "component_wise.inl"
GLM_FUNC_DECL genType::value_type compMul(genType const &v)
Multiply all vector components together.
GLM_FUNC_DECL genType::value_type compMax(genType const &v)
Find the maximum value between single vector components.
GLM_FUNC_DECL genType::value_type compMin(genType const &v)
Find the minimum value between single vector components.
GLM_FUNC_DECL genType::value_type compAdd(genType const &v)
Add all vector components together.