summaryrefslogtreecommitdiffstats
path: root/deps/include/glm/gtx/integer.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/integer.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/integer.hpp')
-rw-r--r--deps/include/glm/gtx/integer.hpp74
1 files changed, 0 insertions, 74 deletions
diff --git a/deps/include/glm/gtx/integer.hpp b/deps/include/glm/gtx/integer.hpp
deleted file mode 100644
index 2b16830..0000000
--- a/deps/include/glm/gtx/integer.hpp
+++ /dev/null
@@ -1,74 +0,0 @@
-/// @ref gtx_integer
-/// @file glm/gtx/integer.hpp
-///
-/// @see core (dependence)
-///
-/// @defgroup gtx_integer GLM_GTX_integer
-/// @ingroup gtx
-///
-/// Include <glm/gtx/integer.hpp> to use the features of this extension.
-///
-/// Add support for integer for core functions
-
-#pragma once
-
-// Dependency:
-#include "../glm.hpp"
-#include "../gtc/integer.hpp"
-
-#ifndef GLM_ENABLE_EXPERIMENTAL
-# error "GLM: GLM_GTX_integer 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_integer extension included")
-#endif
-
-namespace glm
-{
- /// @addtogroup gtx_integer
- /// @{
-
- //! Returns x raised to the y power.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int pow(int x, uint y);
-
- //! Returns the positive square root of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int sqrt(int x);
-
- //! Returns the floor log2 of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
-
- //! Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL int mod(int x, int y);
-
- //! Return the factorial value of a number (!12 max, integer only)
- //! From GLM_GTX_integer extension.
- template<typename genType>
- GLM_FUNC_DECL genType factorial(genType const& x);
-
- //! 32bit signed integer.
- //! From GLM_GTX_integer extension.
- typedef signed int sint;
-
- //! Returns x raised to the y power.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint pow(uint x, uint y);
-
- //! Returns the positive square root of x.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint sqrt(uint x);
-
- //! Modulus. Returns x - y * floor(x / y) for each component in x using the floating point value y.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint mod(uint x, uint y);
-
- //! Returns the number of leading zeros.
- //! From GLM_GTX_integer extension.
- GLM_FUNC_DECL uint nlz(uint x);
-
- /// @}
-}//namespace glm
-
-#include "integer.inl"