17 #include "../common.hpp"
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_EXT_scalar_common extension included")
32 GLM_FUNC_DECL T
min(T a, T b, T c);
38 GLM_FUNC_DECL T
min(T a, T b, T c, T d);
44 GLM_FUNC_DECL T
max(T a, T b, T c);
50 GLM_FUNC_DECL T
max(T a, T b, T c, T d);
58 GLM_FUNC_DECL T
fmin(T a, T b);
66 GLM_FUNC_DECL T
fmin(T a, T b, T c);
74 GLM_FUNC_DECL T
fmin(T a, T b, T c, T d);
82 GLM_FUNC_DECL T
fmax(T a, T b);
90 GLM_FUNC_DECL T
fmax(T a, T b, T C);
98 GLM_FUNC_DECL T
fmax(T a, T b, T C, T D);
103 #include "scalar_common.inl"
GLM_FUNC_DECL T min(T a, T b, T c, T d)
Returns the minimum component-wise values of 4 inputs.
GLM_FUNC_DECL T max(T a, T b, T c, T d)
Returns the maximum component-wise values of 4 inputs.
GLM_FUNC_DECL T fmax(T a, T b, T C, T D)
Returns the maximum component-wise values of 4 inputs.
GLM_FUNC_DECL T fmin(T a, T b, T c, T d)
Returns the minimum component-wise values of 4 inputs.