Add rgb elements to V3f
This commit is contained in:
parent
86138f838c
commit
afc10fb79a
@ -31,9 +31,18 @@ struct f32x2 {
|
|||||||
|
|
||||||
typedef struct f32x3 V3f;
|
typedef struct f32x3 V3f;
|
||||||
struct f32x3 {
|
struct f32x3 {
|
||||||
f32 x;
|
union {
|
||||||
f32 y;
|
f32 x;
|
||||||
f32 z;
|
f32 r;
|
||||||
|
};
|
||||||
|
union {
|
||||||
|
f32 y;
|
||||||
|
f32 g;
|
||||||
|
};
|
||||||
|
union {
|
||||||
|
f32 z;
|
||||||
|
f32 b;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct f32x4 V4f;
|
typedef struct f32x4 V4f;
|
||||||
|
Loading…
Reference in New Issue
Block a user