From 8556fdd4bc1560f03f70df08282b12464a4cdf04 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 1 Oct 2022 21:53:12 -0500 Subject: Move EulerOrder enum to math_defs.h and global scope --- core/variant/variant_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/variant/variant_internal.h') diff --git a/core/variant/variant_internal.h b/core/variant/variant_internal.h index 636710c934..94e7296a99 100644 --- a/core/variant/variant_internal.h +++ b/core/variant/variant_internal.h @@ -824,9 +824,9 @@ VARIANT_ACCESSOR_NUMBER(Vector4i::Axis) VARIANT_ACCESSOR_NUMBER(Projection::Planes) template <> -struct VariantInternalAccessor { - static _FORCE_INLINE_ Basis::EulerOrder get(const Variant *v) { return Basis::EulerOrder(*VariantInternal::get_int(v)); } - static _FORCE_INLINE_ void set(Variant *v, Basis::EulerOrder p_value) { *VariantInternal::get_int(v) = (int64_t)p_value; } +struct VariantInternalAccessor { + static _FORCE_INLINE_ EulerOrder get(const Variant *v) { return EulerOrder(*VariantInternal::get_int(v)); } + static _FORCE_INLINE_ void set(Variant *v, EulerOrder p_value) { *VariantInternal::get_int(v) = (int64_t)p_value; } }; template <> -- cgit v1.2.3