Skip to content

Commit 13069ff

Browse files
committed
Converted a few typdef to using
1 parent d0bbddc commit 13069ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Inc/DirectXMath.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ namespace DirectX
337337
// Vector intrinsic: Four 32 bit floating point components aligned on a 16 byte
338338
// boundary and mapped to hardware vector registers
339339
#if defined(_XM_SSE_INTRINSICS_) && !defined(_XM_NO_INTRINSICS_)
340-
typedef __m128 XMVECTOR;
340+
using XMVECTOR = __m128;
341341
#elif defined(_XM_ARM_NEON_INTRINSICS_) && !defined(_XM_NO_INTRINSICS_)
342-
typedef float32x4_t XMVECTOR;
342+
using XMVECTOR = float32x4_t;
343343
#else
344-
typedef __vector4 XMVECTOR;
344+
using XMVECTOR = __vector4;
345345
#endif
346346

347347
// Fix-up for (1st-3rd) XMVECTOR parameters that are pass-in-register for x86, ARM, ARM64, and vector call; by reference otherwise

0 commit comments

Comments
 (0)