From 61e5bcef2629e2d68b805a956a96fff264d4f74d Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 28 Jun 2025 01:59:49 +0500 Subject: Restructure dependencies and update to C++20 - Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025) --- deps/include/glm/ext/vector_reciprocal.inl | 105 ----------------------------- 1 file changed, 105 deletions(-) delete mode 100644 deps/include/glm/ext/vector_reciprocal.inl (limited to 'deps/include/glm/ext/vector_reciprocal.inl') diff --git a/deps/include/glm/ext/vector_reciprocal.inl b/deps/include/glm/ext/vector_reciprocal.inl deleted file mode 100644 index b85102a..0000000 --- a/deps/include/glm/ext/vector_reciprocal.inl +++ /dev/null @@ -1,105 +0,0 @@ -/// @ref ext_vector_reciprocal - -#include "../trigonometric.hpp" -#include - -namespace glm -{ - // sec - template - GLM_FUNC_QUALIFIER vec sec(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'sec' only accept floating-point inputs"); - return static_cast(1) / detail::functor1::call(cos, x); - } - - // csc - template - GLM_FUNC_QUALIFIER vec csc(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'csc' only accept floating-point inputs"); - return static_cast(1) / detail::functor1::call(sin, x); - } - - // cot - template - GLM_FUNC_QUALIFIER vec cot(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'cot' only accept floating-point inputs"); - T const pi_over_2 = static_cast(3.1415926535897932384626433832795 / 2.0); - return detail::functor1::call(tan, pi_over_2 - x); - } - - // asec - template - GLM_FUNC_QUALIFIER vec asec(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'asec' only accept floating-point inputs"); - return detail::functor1::call(acos, static_cast(1) / x); - } - - // acsc - template - GLM_FUNC_QUALIFIER vec acsc(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'acsc' only accept floating-point inputs"); - return detail::functor1::call(asin, static_cast(1) / x); - } - - // acot - template - GLM_FUNC_QUALIFIER vec acot(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'acot' only accept floating-point inputs"); - T const pi_over_2 = static_cast(3.1415926535897932384626433832795 / 2.0); - return pi_over_2 - detail::functor1::call(atan, x); - } - - // sech - template - GLM_FUNC_QUALIFIER vec sech(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'sech' only accept floating-point inputs"); - return static_cast(1) / detail::functor1::call(cosh, x); - } - - // csch - template - GLM_FUNC_QUALIFIER vec csch(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'csch' only accept floating-point inputs"); - return static_cast(1) / detail::functor1::call(sinh, x); - } - - // coth - template - GLM_FUNC_QUALIFIER vec coth(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'coth' only accept floating-point inputs"); - return glm::cosh(x) / glm::sinh(x); - } - - // asech - template - GLM_FUNC_QUALIFIER vec asech(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'asech' only accept floating-point inputs"); - return detail::functor1::call(acosh, static_cast(1) / x); - } - - // acsch - template - GLM_FUNC_QUALIFIER vec acsch(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'acsch' only accept floating-point inputs"); - return detail::functor1::call(asinh, static_cast(1) / x); - } - - // acoth - template - GLM_FUNC_QUALIFIER vec acoth(vec const& x) - { - GLM_STATIC_ASSERT(std::numeric_limits::is_iec559 || GLM_CONFIG_UNRESTRICTED_FLOAT, "'acoth' only accept floating-point inputs"); - return detail::functor1::call(atanh, static_cast(1) / x); - } -}//namespace glm -- cgit