|
@@ -31,7 +31,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T min(T a, T b, T c);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (min)(T a, T b, T c);
|
|
|
|
|
|
|
|
/// Returns the minimum component-wise values of 4 inputs
|
|
/// Returns the minimum component-wise values of 4 inputs
|
|
|
///
|
|
///
|
|
@@ -39,7 +39,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T min(T a, T b, T c, T d);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (min)(T a, T b, T c, T d);
|
|
|
|
|
|
|
|
/// Returns the maximum component-wise values of 3 inputs
|
|
/// Returns the maximum component-wise values of 3 inputs
|
|
|
///
|
|
///
|
|
@@ -47,7 +47,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T max(T a, T b, T c);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (max)(T a, T b, T c);
|
|
|
|
|
|
|
|
/// Returns the maximum component-wise values of 4 inputs
|
|
/// Returns the maximum component-wise values of 4 inputs
|
|
|
///
|
|
///
|
|
@@ -55,7 +55,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T max(T a, T b, T c, T d);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (max)(T a, T b, T c, T d);
|
|
|
|
|
|
|
|
/// Returns the minimum component-wise values of 2 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the minimum component-wise values of 2 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -64,7 +64,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmin(T a, T b);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmin)(T a, T b);
|
|
|
|
|
|
|
|
/// Returns the minimum component-wise values of 3 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the minimum component-wise values of 3 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -73,7 +73,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmin(T a, T b, T c);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmin)(T a, T b, T c);
|
|
|
|
|
|
|
|
/// Returns the minimum component-wise values of 4 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the minimum component-wise values of 4 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -82,7 +82,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmin(T a, T b, T c, T d);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmin)(T a, T b, T c, T d);
|
|
|
|
|
|
|
|
/// Returns the maximum component-wise values of 2 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the maximum component-wise values of 2 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -91,7 +91,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmax(T a, T b);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmax)(T a, T b);
|
|
|
|
|
|
|
|
/// Returns the maximum component-wise values of 3 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the maximum component-wise values of 3 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -100,7 +100,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmax(T a, T b, T C);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmax)(T a, T b, T C);
|
|
|
|
|
|
|
|
/// Returns the maximum component-wise values of 4 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns the maximum component-wise values of 4 inputs. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|
|
@@ -109,7 +109,7 @@ namespace glm
|
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
|
|
|
/// @see ext_scalar_common
|
|
/// @see ext_scalar_common
|
|
|
template<typename T>
|
|
template<typename T>
|
|
|
- GLM_FUNC_DECL T fmax(T a, T b, T C, T D);
|
|
|
|
|
|
|
+ GLM_FUNC_DECL T (fmax)(T a, T b, T C, T D);
|
|
|
|
|
|
|
|
/// Returns min(max(x, minVal), maxVal) for each component in x. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
/// Returns min(max(x, minVal), maxVal) for each component in x. If one of the two arguments is NaN, the value of the other argument is returned.
|
|
|
///
|
|
///
|