mirror of
https://github.com/AxioDL/zeus.git
synced 2025-06-13 01:53:32 +00:00
25 lines
270 B
C++
25 lines
270 B
C++
#ifndef TVECTORUNION
|
|
#define TVECTORUNION
|
|
|
|
namespace Zeus
|
|
{
|
|
typedef union
|
|
{
|
|
float v[4];
|
|
#if __SSE__
|
|
__m128 mVec128;
|
|
#endif
|
|
} TVectorUnion;
|
|
|
|
typedef union
|
|
{
|
|
double v[4];
|
|
#if __SSE__
|
|
__m128d mVec128[2];
|
|
#endif
|
|
} TDblVectorUnion;
|
|
}
|
|
|
|
#endif // TVECTORUNION
|
|
|