diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-28 17:04:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-28 17:04:21 +0100 |
commit | dc4b30d53a7eee3c06be4fa4a10b1c9c456fe026 (patch) | |
tree | 9271547c54a8e5a49088ec981863ab77d9988b5b /entity/erased-constraints.hpp | |
parent | 92f6c13f52a831af72314cfbeaae90b560c7320f (diff) |
use Magnum::Math::IsVector
Diffstat (limited to 'entity/erased-constraints.hpp')
-rw-r--r-- | entity/erased-constraints.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/entity/erased-constraints.hpp b/entity/erased-constraints.hpp index 2674a619..c77d8166 100644 --- a/entity/erased-constraints.hpp +++ b/entity/erased-constraints.hpp @@ -4,13 +4,6 @@ namespace floormat::entities::erased_constraints { -template<typename T> struct is_magnum_vector_ final : std::false_type {}; -template<std::size_t N, typename T> struct is_magnum_vector_<Math::Vector<N, T>> : std::true_type {}; -template<typename T> struct is_magnum_vector_<Math::Vector2<T>> : std::true_type {}; -template<typename T> struct is_magnum_vector_<Math::Vector3<T>> : std::true_type {}; -template<typename T> struct is_magnum_vector_<Math::Vector4<T>> : std::true_type {}; -template<typename T> constexpr inline bool is_magnum_vector = is_magnum_vector_<T>::value; - struct range final { using U = std::size_t; |