mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-22 03:28:10 +00:00
Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc
This commit is contained in:
1 parent
35d9110783
commit
9ed749c9d2
1 file changed
+4
-3
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user