From 2f53275462c753974745adfd18da36996be87122 Mon Sep 17 00:00:00 2001 From: Mohamed Ashraf Date: Wed, 25 Mar 2026 09:32:20 +0400 Subject: [PATCH] ficks directx maht --- .../Linux/Stubs/DirectXMath/DirectXMath.h | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/Minecraft.Client/Platform/Linux/Stubs/DirectXMath/DirectXMath.h b/Minecraft.Client/Platform/Linux/Stubs/DirectXMath/DirectXMath.h index 3ec021bd0..7b28cd586 100644 --- a/Minecraft.Client/Platform/Linux/Stubs/DirectXMath/DirectXMath.h +++ b/Minecraft.Client/Platform/Linux/Stubs/DirectXMath/DirectXMath.h @@ -99,6 +99,8 @@ #elif defined(_M_ARM) || defined(_M_ARM64) || defined(_M_HYBRID_X86_ARM64) || \ defined(_M_ARM64EC) || __arm__ || __aarch64__ #define _XM_ARM_NEON_INTRINSICS_ +#elif defined(__EMSCRIPTEN__) +#define _XM_NO_INTRINSICS_ #elif !defined(_XM_NO_INTRINSICS_) #error DirectX Math does not support this target #endif @@ -935,10 +937,10 @@ struct XMFLOAT3X3 { return m[Row][Column]; } -#if (__cplusplus >= 202002L) - bool operator==(const XMFLOAT3X3&) const = delete; - auto operator<=>(const XMFLOAT3X3&) const = delete; -#endif +#if (__cplusplus >= 202002L) + bool operator==(const XMFLOAT3X3&) const = delete; + auto operator<=>(const XMFLOAT3X3&) const = delete; +#endif }; //------------------------------------------------------------------------------ @@ -987,10 +989,10 @@ struct XMFLOAT4X3 { return m[Row][Column]; } -#if (__cplusplus >= 202002L) - bool operator==(const XMFLOAT4X3&) const = delete; - auto operator<=>(const XMFLOAT4X3&) const = delete; -#endif +#if (__cplusplus >= 202002L) + bool operator==(const XMFLOAT4X3&) const = delete; + auto operator<=>(const XMFLOAT4X3&) const = delete; +#endif }; // 4x3 Row-major Matrix: 32 bit floating point components aligned on a 16 byte @@ -1044,10 +1046,10 @@ struct XMFLOAT3X4 { return m[Row][Column]; } -#if (__cplusplus >= 202002L) - bool operator==(const XMFLOAT3X4&) const = delete; - auto operator<=>(const XMFLOAT3X4&) const = delete; -#endif +#if (__cplusplus >= 202002L) + bool operator==(const XMFLOAT3X4&) const = delete; + auto operator<=>(const XMFLOAT3X4&) const = delete; +#endif }; // 3x4 Column-major Matrix: 32 bit floating point components aligned on a 16 @@ -1106,10 +1108,10 @@ struct XMFLOAT4X4 { return m[Row][Column]; } -#if (__cplusplus >= 202002L) - bool operator==(const XMFLOAT4X4&) const = delete; - auto operator<=>(const XMFLOAT4X4&) const = delete; -#endif +#if (__cplusplus >= 202002L) + bool operator==(const XMFLOAT4X4&) const = delete; + auto operator<=>(const XMFLOAT4X4&) const = delete; +#endif }; // 4x4 Matrix: 32 bit floating point components aligned on a 16 byte boundary