mirror of
https://github.com/libAthena/athena.git
synced 2025-07-06 13:16:18 +00:00
Added double vector types
This commit is contained in:
parent
f4716070dd
commit
e6dedd0e6c
@ -96,6 +96,33 @@ typedef union alignas(16)
|
||||
float vec[4];
|
||||
} atVec4f;
|
||||
|
||||
typedef union alignas(16)
|
||||
{
|
||||
#if __SSE__
|
||||
__m128d mVec128;
|
||||
AT_ALIGNED_ALLOCATOR
|
||||
#endif
|
||||
double vec[2];
|
||||
} atVec2d;
|
||||
|
||||
typedef union alignas(16)
|
||||
{
|
||||
#if __SSE__
|
||||
__m128d mVec128[2];
|
||||
AT_ALIGNED_ALLOCATOR
|
||||
#endif
|
||||
double vec[3];
|
||||
} atVec3d;
|
||||
|
||||
typedef union alignas(16)
|
||||
{
|
||||
#if __SSE__
|
||||
__m128d mVec128[2];
|
||||
AT_ALIGNED_ALLOCATOR
|
||||
#endif
|
||||
double vec[4];
|
||||
} atVec4d;
|
||||
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user