45 #include "../detail/setup.hpp"
46 #include "../detail/precision.hpp"
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_component_wise extension included")
59 template <
typename genType>
60 GLM_FUNC_DECL
typename genType::value_type
compAdd(
65 template <
typename genType>
66 GLM_FUNC_DECL
typename genType::value_type
compMul(
71 template <
typename genType>
72 GLM_FUNC_DECL
typename genType::value_type
compMin(
77 template <
typename genType>
78 GLM_FUNC_DECL
typename genType::value_type
compMax(
84 #include "component_wise.inl"
GLM_FUNC_DECL genType::value_type compMax(genType const &v)
Find the maximum value between single vector components.
GLM_FUNC_DECL genType::value_type compAdd(genType const &v)
Add all vector components together.
GLM_FUNC_DECL genType::value_type compMul(genType const &v)
Multiply all vector components together.
GLM_FUNC_DECL genType::value_type compMin(genType const &v)
Find the minimum value between single vector components.