Change f32x3 to union

This commit is contained in:
Abdelrahman Said 2024-08-31 13:46:12 +01:00
parent 97622d0bf7
commit bb6b0e3e5d

View File

@ -31,9 +31,8 @@ struct f32x2 {
}; };
}; };
typedef struct f32x3 V3f; typedef union f32x3 V3f;
struct f32x3 { union f32x3 {
union {
f32 elements[V3_ELEM_COUNT]; f32 elements[V3_ELEM_COUNT];
struct { struct {
union { union {
@ -50,7 +49,6 @@ struct f32x3 {
}; };
}; };
}; };
};
typedef struct f32x4 V4f; typedef struct f32x4 V4f;
struct f32x4 { struct f32x4 {