Change f32x3 to union
This commit is contained in:
1 parent
97622d0bf7
commit
bb6b0e3e5d
1 file changed
+2
-4
+2
-4
@@ -31,9 +31,8 @@ struct f32x2 {
|
||||
};
|
||||
};
|
||||
|
||||
typedef struct f32x3 V3f;
|
||||
struct f32x3 {
|
||||
union {
|
||||
typedef union f32x3 V3f;
|
||||
union f32x3 {
|
||||
f32 elements[V3_ELEM_COUNT];
|
||||
struct {
|
||||
union {
|
||||
@@ -49,7 +48,6 @@ struct f32x3 {
|
||||
f32 b;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
typedef struct f32x4 V4f;
|
||||
|
||||
Reference in new issue
Block a user