summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/type_trait.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-07 04:56:57 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-07 04:56:57 +0200
commit83889ba33dad2743eeb2a79102a1117ec9220025 (patch)
tree7e15713639a4e0c12f1a06e467dd0b3d79070983 /external/include/glm/gtx/type_trait.hpp
parentReplaced find_package with CPMAddPackage for more libraries (diff)
downloadAltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar.gz
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar.bz2
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar.lz
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar.xz
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.tar.zst
AltCraft-83889ba33dad2743eeb2a79102a1117ec9220025.zip
Diffstat (limited to 'external/include/glm/gtx/type_trait.hpp')
-rw-r--r--external/include/glm/gtx/type_trait.hpp85
1 files changed, 0 insertions, 85 deletions
diff --git a/external/include/glm/gtx/type_trait.hpp b/external/include/glm/gtx/type_trait.hpp
deleted file mode 100644
index 637bbd1..0000000
--- a/external/include/glm/gtx/type_trait.hpp
+++ /dev/null
@@ -1,85 +0,0 @@
-/// @ref gtx_type_trait
-/// @file glm/gtx/type_trait.hpp
-///
-/// @see core (dependence)
-///
-/// @defgroup gtx_type_trait GLM_GTX_type_trait
-/// @ingroup gtx
-///
-/// Include <glm/gtx/type_trait.hpp> to use the features of this extension.
-///
-/// Defines traits for each type.
-
-#pragma once
-
-#ifndef GLM_ENABLE_EXPERIMENTAL
-# error "GLM: GLM_GTX_type_trait 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."
-#endif
-
-// Dependency:
-#include "../detail/qualifier.hpp"
-#include "../gtc/quaternion.hpp"
-#include "../gtx/dual_quaternion.hpp"
-
-#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-# pragma message("GLM: GLM_GTX_type_trait extension included")
-#endif
-
-namespace glm
-{
- /// @addtogroup gtx_type_trait
- /// @{
-
- template<typename T>
- struct type
- {
- static bool const is_vec = false;
- static bool const is_mat = false;
- static bool const is_quat = false;
- static length_t const components = 0;
- static length_t const cols = 0;
- static length_t const rows = 0;
- };
-
- template<length_t L, typename T, qualifier Q>
- struct type<vec<L, T, Q> >
- {
- static bool const is_vec = true;
- static bool const is_mat = false;
- static bool const is_quat = false;
- static length_t const components = L;
- };
-
- template<length_t C, length_t R, typename T, qualifier Q>
- struct type<mat<C, R, T, Q> >
- {
- static bool const is_vec = false;
- static bool const is_mat = true;
- static bool const is_quat = false;
- static length_t const components = C;
- static length_t const cols = C;
- static length_t const rows = R;
- };
-
- template<typename T, qualifier Q>
- struct type<tquat<T, Q> >
- {
- static bool const is_vec = false;
- static bool const is_mat = false;
- static bool const is_quat = true;
- static length_t const components = 4;
- };
-
- template<typename T, qualifier Q>
- struct type<tdualquat<T, Q> >
- {
- static bool const is_vec = false;
- static bool const is_mat = false;
- static bool const is_quat = true;
- static length_t const components = 8;
- };
-
- /// @}
-}//namespace glm
-
-#include "type_trait.inl"