Change f32x3 to union
This commit is contained in:
parent
97622d0bf7
commit
bb6b0e3e5d
@ -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 {
|
||||||
@ -49,7 +48,6 @@ struct f32x3 {
|
|||||||
f32 b;
|
f32 b;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct f32x4 V4f;
|
typedef struct f32x4 V4f;
|
||||||
|
Loading…
Reference in New Issue
Block a user