From 83889ba33dad2743eeb2a79102a1117ec9220025 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Mon, 7 Jun 2021 07:56:57 +0500 Subject: Replaced /external/ with CPMAddPackage --- .../include/glm/detail/func_vector_relational.inl | 105 --------------------- 1 file changed, 105 deletions(-) delete mode 100644 external/include/glm/detail/func_vector_relational.inl (limited to 'external/include/glm/detail/func_vector_relational.inl') diff --git a/external/include/glm/detail/func_vector_relational.inl b/external/include/glm/detail/func_vector_relational.inl deleted file mode 100644 index b081a90..0000000 --- a/external/include/glm/detail/func_vector_relational.inl +++ /dev/null @@ -1,105 +0,0 @@ -/// @ref core -/// @file glm/detail/func_vector_relational.inl - -#include "compute_vector_relational.hpp" - -namespace glm -{ - template - GLM_FUNC_QUALIFIER vec lessThan(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] < y[i]; - - return Result; - } - - template - GLM_FUNC_QUALIFIER vec lessThanEqual(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] <= y[i]; - return Result; - } - - template - GLM_FUNC_QUALIFIER vec greaterThan(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] > y[i]; - return Result; - } - - template - GLM_FUNC_QUALIFIER vec greaterThanEqual(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] >= y[i]; - return Result; - } - - template - GLM_FUNC_QUALIFIER vec equal(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = detail::compute_equal::call(x[i], y[i]); - return Result; - } - - template - GLM_FUNC_QUALIFIER vec notEqual(vec const& x, vec const& y) - { - assert(x.length() == y.length()); - - vec Result; - for(length_t i = 0; i < x.length(); ++i) - Result[i] = !detail::compute_equal::call(x[i], y[i]); - return Result; - } - - template - GLM_FUNC_QUALIFIER bool any(vec const& v) - { - bool Result = false; - for(length_t i = 0; i < v.length(); ++i) - Result = Result || v[i]; - return Result; - } - - template - GLM_FUNC_QUALIFIER bool all(vec const& v) - { - bool Result = true; - for(length_t i = 0; i < v.length(); ++i) - Result = Result && v[i]; - return Result; - } - - template - GLM_FUNC_QUALIFIER vec not_(vec const& v) - { - vec Result; - for(length_t i = 0; i < v.length(); ++i) - Result[i] = !v[i]; - return Result; - } -}//namespace glm - -#if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_UNRESTRICTED_UNIONS -# include "func_vector_relational_simd.inl" -#endif -- cgit v1.2.3