summaryrefslogtreecommitdiffstats
path: root/deps/include/glm/gtx/norm.hpp
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
committeruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
commit61e5bcef2629e2d68b805a956a96fff264d4f74d (patch)
treebca3a94bac79d34e3c0db57c77604f5a823ecbda /deps/include/glm/gtx/norm.hpp
parent88c01588aa0830e219eaa62588839e4d1e2883ce (diff)
downloadvoxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.tar.bz2
voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.zip
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)
Diffstat (limited to 'deps/include/glm/gtx/norm.hpp')
-rw-r--r--deps/include/glm/gtx/norm.hpp86
1 files changed, 0 insertions, 86 deletions
diff --git a/deps/include/glm/gtx/norm.hpp b/deps/include/glm/gtx/norm.hpp
deleted file mode 100644
index d6724a8..0000000
--- a/deps/include/glm/gtx/norm.hpp
+++ /dev/null
@@ -1,86 +0,0 @@
-/// @ref gtx_norm
-/// @file glm/gtx/norm.hpp
-///
-/// @see core (dependence)
-/// @see gtx_quaternion (dependence)
-/// @see gtx_component_wise (dependence)
-///
-/// @defgroup gtx_norm GLM_GTX_norm
-/// @ingroup gtx
-///
-/// Include <glm/gtx/norm.hpp> to use the features of this extension.
-///
-/// Various ways to compute vector norms.
-
-#pragma once
-
-// Dependency:
-#include "../geometric.hpp"
-#include "../gtx/quaternion.hpp"
-#include "../gtx/component_wise.hpp"
-
-#ifndef GLM_ENABLE_EXPERIMENTAL
-# error "GLM: GLM_GTX_norm is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
-# pragma message("GLM: GLM_GTX_norm extension included")
-#endif
-
-namespace glm
-{
- /// @addtogroup gtx_norm
- /// @{
-
- /// Returns the squared length of x.
- /// From GLM_GTX_norm extension.
- template<length_t L, typename T, qualifier Q>
- GLM_FUNC_DECL T length2(vec<L, T, Q> const& x);
-
- /// Returns the squared distance between p0 and p1, i.e., length2(p0 - p1).
- /// From GLM_GTX_norm extension.
- template<length_t L, typename T, qualifier Q>
- GLM_FUNC_DECL T distance2(vec<L, T, Q> const& p0, vec<L, T, Q> const& p1);
-
- //! Returns the L1 norm between x and y.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
- //! Returns the L1 norm of v.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& v);
-
- //! Returns the L2 norm between x and y.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
- //! Returns the L2 norm of v.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x);
-
- //! Returns the L norm between x and y.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, vec<3, T, Q> const& y, unsigned int Depth);
-
- //! Returns the L norm of v.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, unsigned int Depth);
-
- //! Returns the LMax norm between x and y.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T lMaxNorm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
- //! Returns the LMax norm of v.
- //! From GLM_GTX_norm extension.
- template<typename T, qualifier Q>
- GLM_FUNC_DECL T lMaxNorm(vec<3, T, Q> const& x);
-
- /// @}
-}//namespace glm
-
-#include "norm.inl"