|
|
|
@ -36,15 +36,15 @@ namespace glm |
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison of |x - y| < epsilon.
|
|
|
|
|
/// True if this expression is satisfied.
|
|
|
|
|
/// Perform a component-wise not-equal-to comparison of two matrices.
|
|
|
|
|
/// Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point or integer scalar types
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon); |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison of |x - y| < epsilon.
|
|
|
|
|
/// True if this expression is satisfied.
|
|
|
|
@ -54,17 +54,17 @@ namespace glm |
|
|
|
|
/// @tparam T Floating-point or integer scalar types
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon); |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon); |
|
|
|
|
|
|
|
|
|
/// Perform a component-wise not-equal-to comparison of two matrices.
|
|
|
|
|
/// Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.
|
|
|
|
|
/// Returns the component-wise comparison of |x - y| < epsilon.
|
|
|
|
|
/// True if this expression is satisfied.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point or integer scalar types
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y); |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison of |x - y| < epsilon.
|
|
|
|
|
/// True if this expression is not satisfied.
|
|
|
|
@ -86,6 +86,46 @@ namespace glm |
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison between two vectors in term of ULPs.
|
|
|
|
|
/// True if this expression is satisfied.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, int ULPs); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison between two vectors in term of ULPs.
|
|
|
|
|
/// True if this expression is satisfied.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, int, Q> const& ULPs); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison between two vectors in term of ULPs.
|
|
|
|
|
/// True if this expression is not satisfied.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, int ULPs); |
|
|
|
|
|
|
|
|
|
/// Returns the component-wise comparison between two vectors in term of ULPs.
|
|
|
|
|
/// True if this expression is not satisfied.
|
|
|
|
|
///
|
|
|
|
|
/// @tparam C Integer between 1 and 4 included that qualify the number of columns of the matrix
|
|
|
|
|
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
|
|
|
|
|
/// @tparam T Floating-point
|
|
|
|
|
/// @tparam Q Value from qualifier enum
|
|
|
|
|
template<length_t C, length_t R, typename T, qualifier Q> |
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, int, Q> const& ULPs); |
|
|
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
}//namespace glm
|
|
|
|
|
|
|
|
|
|