mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
simd constexpr vec: fix a couple more compile errors
This commit is contained in:
parent
2ad1ffa10c
commit
90b74f1106
@ -30,7 +30,7 @@ namespace glm
|
||||
concept arithmetic = std::integral<T> || std::floating_point<T>;
|
||||
template <typename T0, typename... T>
|
||||
consteval bool SameArithmeticTypes() {
|
||||
return (std::is_same_v<std::common_type_t<T0,T>, T> && ...);
|
||||
return (std::is_same_v<std::common_type_t<T0,T>, std::common_type_t<T0,T>> && ...);
|
||||
}
|
||||
template <typename... T>
|
||||
consteval bool NotSameArithmeticTypes() {
|
||||
|
@ -1,9 +1,9 @@
|
||||
/// @ref core
|
||||
/// @file glm/detail/type_vec2.hpp
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#pragma once
|
||||
|
||||
#include "qualifier.hpp"
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
|
||||
# include "_swizzle.hpp"
|
||||
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
|
||||
|
@ -1,9 +1,9 @@
|
||||
/// @ref core
|
||||
/// @file glm/detail/type_vec3.hpp
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#pragma once
|
||||
|
||||
#include "qualifier.hpp"
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
|
||||
# include "_swizzle.hpp"
|
||||
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
|
||||
|
@ -1,9 +1,9 @@
|
||||
/// @ref core
|
||||
/// @file glm/detail/type_vec4.hpp
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#pragma once
|
||||
|
||||
#include "qualifier.hpp"
|
||||
#if GLM_SIMD_CONSTEXPR == 0
|
||||
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
|
||||
# include "_swizzle.hpp"
|
||||
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
|
||||
|
Loading…
Reference in New Issue
Block a user