util-math: Remove alignment from vec2a

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-03-01 11:14:06 +01:00
parent c1b7f8aa88
commit 133978bbca
1 changed files with 3 additions and 6 deletions

View File

@ -67,10 +67,7 @@ inline size_t GetNearestPowerOfTwoBelow(size_t v)
} }
namespace util { namespace util {
#ifdef _MSC_VER struct vec2a : public vec2 {
__declspec(align(16))
#endif
struct vec2a : public vec2 {
// 16-byte Aligned version of vec2 // 16-byte Aligned version of vec2
static void* operator new(size_t count); static void* operator new(size_t count);
static void* operator new[](size_t count); static void* operator new[](size_t count);
@ -81,7 +78,7 @@ namespace util {
#ifdef _MSC_VER #ifdef _MSC_VER
__declspec(align(16)) __declspec(align(16))
#endif #endif
struct vec3a : public vec3 { struct vec3a : public vec3 {
// 16-byte Aligned version of vec3 // 16-byte Aligned version of vec3
static void* operator new(size_t count); static void* operator new(size_t count);
static void* operator new[](size_t count); static void* operator new[](size_t count);
@ -92,7 +89,7 @@ namespace util {
#ifdef _MSC_VER #ifdef _MSC_VER
__declspec(align(16)) __declspec(align(16))
#endif #endif
struct vec4a : public vec4 { struct vec4a : public vec4 {
// 16-byte Aligned version of vec4 // 16-byte Aligned version of vec4
static void* operator new(size_t count); static void* operator new(size_t count);
static void* operator new[](size_t count); static void* operator new[](size_t count);