summaryrefslogtreecommitdiffstats
path: root/deps/include/glm/gtc/integer.inl
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/gtc/integer.inl
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/gtc/integer.inl')
-rw-r--r--deps/include/glm/gtc/integer.inl33
1 files changed, 0 insertions, 33 deletions
diff --git a/deps/include/glm/gtc/integer.inl b/deps/include/glm/gtc/integer.inl
deleted file mode 100644
index 5f66dfe..0000000
--- a/deps/include/glm/gtc/integer.inl
+++ /dev/null
@@ -1,33 +0,0 @@
-/// @ref gtc_integer
-
-namespace glm{
-namespace detail
-{
- template<length_t L, typename T, qualifier Q, bool Aligned>
- struct compute_log2<L, T, Q, false, Aligned>
- {
- GLM_FUNC_QUALIFIER static vec<L, T, Q> call(vec<L, T, Q> const& v)
- {
- //Equivalent to return findMSB(vec); but save one function call in ASM with VC
- //return findMSB(vec);
- return vec<L, T, Q>(detail::compute_findMSB_vec<L, T, Q, sizeof(T) * 8>::call(v));
- }
- };
-
-# if GLM_HAS_BITSCAN_WINDOWS
- template<qualifier Q, bool Aligned>
- struct compute_log2<4, int, Q, false, Aligned>
- {
- GLM_FUNC_QUALIFIER static vec<4, int, Q> call(vec<4, int, Q> const& v)
- {
- vec<4, int, Q> Result;
- _BitScanReverse(reinterpret_cast<unsigned long*>(&Result.x), v.x);
- _BitScanReverse(reinterpret_cast<unsigned long*>(&Result.y), v.y);
- _BitScanReverse(reinterpret_cast<unsigned long*>(&Result.z), v.z);
- _BitScanReverse(reinterpret_cast<unsigned long*>(&Result.w), v.w);
- return Result;
- }
- };
-# endif//GLM_HAS_BITSCAN_WINDOWS
-}//namespace detail
-}//namespace glm