From 6f67371bb1b46579ae837d0e0c61ac1b291be743 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 07:51:33 +0500 Subject: Directory renamed --- .../include/glm/detail/func_vector_relational.inl | 105 --------------------- 1 file changed, 105 deletions(-) delete mode 100644 depedencies/include/glm/detail/func_vector_relational.inl (limited to 'depedencies/include/glm/detail/func_vector_relational.inl') diff --git a/depedencies/include/glm/detail/func_vector_relational.inl b/depedencies/include/glm/detail/func_vector_relational.inl deleted file mode 100644 index 3d8d2b7..0000000 --- a/depedencies/include/glm/detail/func_vector_relational.inl +++ /dev/null @@ -1,105 +0,0 @@ -/// @ref core -/// @file glm/detail/func_vector_relational.inl - -#include - -namespace glm -{ - template class vecType> - GLM_FUNC_QUALIFIER vecType lessThan(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] < y[i]; - - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType lessThanEqual(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] <= y[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType greaterThan(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] > y[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType greaterThanEqual(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] >= y[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType equal(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] == y[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType notEqual(vecType const & x, vecType const & y) - { - assert(x.length() == y.length()); - - vecType Result(uninitialize); - for(length_t i = 0; i < x.length(); ++i) - Result[i] = x[i] != y[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER bool any(vecType const & v) - { - bool Result = false; - for(length_t i = 0; i < v.length(); ++i) - Result = Result || v[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER bool all(vecType const & v) - { - bool Result = true; - for(length_t i = 0; i < v.length(); ++i) - Result = Result && v[i]; - return Result; - } - - template class vecType> - GLM_FUNC_QUALIFIER vecType not_(vecType const & v) - { - vecType Result(uninitialize); - 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