Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc

This commit is contained in:
Jan 2021-03-04 03:45:14 -08:00
parent 35d9110783
commit 9ed749c9d2

View File

@ -3594,7 +3594,6 @@ namespace T6
unsigned int m128_u32[4]; unsigned int m128_u32[4];
}; };
struct vector3 struct vector3
{ {
__m128 x; __m128 x;
@ -3602,9 +3601,11 @@ namespace T6
__m128 z; __m128 z;
}; };
struct vector4
struct vector4 : vector3
{ {
__m128 x;
__m128 y;
__m128 z;
__m128 w; __m128 w;
}; };