17#include "../ext/vector_common.hpp"
19#ifndef GLM_ENABLE_EXPERIMENTAL
20# error "GLM: GLM_GTX_extended_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22# pragma message("GLM: GLM_GTX_extended_min_max extension included")
40 template<
typename T,
template<
typename>
class C>
41 GLM_FUNC_DECL C<T>
min(
43 typename C<T>::T
const& y,
44 typename C<T>::T
const& z);
48 template<
typename T,
template<
typename>
class C>
49 GLM_FUNC_DECL C<T>
min(
65 template<
typename T,
template<
typename>
class C>
66 GLM_FUNC_DECL C<T>
min(
68 typename C<T>::T
const& y,
69 typename C<T>::T
const& z,
70 typename C<T>::T
const& w);
74 template<
typename T,
template<
typename>
class C>
75 GLM_FUNC_DECL C<T>
min(
91 template<
typename T,
template<
typename>
class C>
92 GLM_FUNC_DECL C<T>
max(
94 typename C<T>::T
const& y,
95 typename C<T>::T
const& z);
99 template<
typename T,
template<
typename>
class C>
116 template<
typename T,
template<
typename>
class C>
119 typename C<T>::T
const& y,
120 typename C<T>::T
const& z,
121 typename C<T>::T
const& w);
125 template<
typename T,
template<
typename>
class C>
135#include "extended_min_max.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType max(genType x, genType y)
Returns y if x < y; otherwise, it returns x.
GLM_FUNC_DECL GLM_CONSTEXPR genType min(genType x, genType y)
Returns y if y < x; otherwise, it returns x.