38 #ifndef GLM_GTX_component_wise
39 #define GLM_GTX_component_wise
42 #include "../detail/setup.hpp"
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_component_wise extension included")
55 template <
typename genType>
56 typename genType::value_type
compAdd(
61 template <
typename genType>
62 typename genType::value_type
compMul(
67 template <
typename genType>
68 typename genType::value_type
compMin(
73 template <
typename genType>
74 typename genType::value_type
compMax(
80 #include "component_wise.inl"
82 #endif//GLM_GTX_component_wise
genType::value_type compMin(genType const &v)
Find the minimum value between single vector components.
genType::value_type compMul(genType const &v)
Multiply all vector components together.
genType::value_type compMax(genType const &v)
Find the maximum value between single vector components.
genType::value_type compAdd(genType const &v)
Add all vector components together.