18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extented_min_max is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extented_min_max extension included")
41 template <
typename T,
template <
typename>
class C>
42 GLM_FUNC_DECL C<T>
min(
44 typename C<T>::T
const & y,
45 typename C<T>::T
const & z);
49 template <
typename T,
template <
typename>
class C>
50 GLM_FUNC_DECL C<T>
min(
66 template <
typename T,
template <
typename>
class C>
67 GLM_FUNC_DECL C<T>
min(
69 typename C<T>::T
const & y,
70 typename C<T>::T
const & z,
71 typename C<T>::T
const & w);
75 template <
typename T,
template <
typename>
class C>
76 GLM_FUNC_DECL C<T>
min(
92 template <
typename T,
template <
typename>
class C>
93 GLM_FUNC_DECL C<T>
max(
95 typename C<T>::T
const & y,
96 typename C<T>::T
const & z);
100 template <
typename T,
template <
typename>
class C>
101 GLM_FUNC_DECL C<T>
max(
108 template <
typename T>
117 template <
typename T,
template <
typename>
class C>
118 GLM_FUNC_DECL C<T>
max(
120 typename C<T>::T
const & y,
121 typename C<T>::T
const & z,
122 typename C<T>::T
const & w);
126 template <
typename T,
template <
typename>
class C>
127 GLM_FUNC_DECL C<T>
max(
136 #include "extended_min_max.inl"
GLM_FUNC_DECL C< T > min(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the minimum component-wise values of 4 inputs.
GLM_FUNC_DECL C< T > max(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the maximum component-wise values of 4 inputs.