simd constexpr vec: fix a couple more compile errors

This commit is contained in:
sharkautarch 2024-09-13 14:59:42 -04:00
parent 2ad1ffa10c
commit 90b74f1106
No known key found for this signature in database
GPG Key ID: F270CA9462164405
4 changed files with 5 additions and 5 deletions

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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