mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc
This commit is contained in:
parent
35d9110783
commit
9ed749c9d2
@ -3594,7 +3594,6 @@ namespace T6
|
||||
unsigned int m128_u32[4];
|
||||
};
|
||||
|
||||
|
||||
struct vector3
|
||||
{
|
||||
__m128 x;
|
||||
@ -3602,9 +3601,11 @@ namespace T6
|
||||
__m128 z;
|
||||
};
|
||||
|
||||
|
||||
struct vector4 : vector3
|
||||
struct vector4
|
||||
{
|
||||
__m128 x;
|
||||
__m128 y;
|
||||
__m128 z;
|
||||
__m128 w;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user