|
@@ -53,18 +53,22 @@ typedef union {
|
|
} V3u;
|
|
} V3u;
|
|
typedef union {
|
|
typedef union {
|
|
struct { float x, y, z, w; };
|
|
struct { float x, y, z, w; };
|
|
|
|
+ struct { V2f xy; V2f zw; };
|
|
float c[4];
|
|
float c[4];
|
|
} V4f;
|
|
} V4f;
|
|
typedef union {
|
|
typedef union {
|
|
struct { double x, y, z, w; };
|
|
struct { double x, y, z, w; };
|
|
|
|
+ struct { V2d xy; V2d zw; };
|
|
double c[4];
|
|
double c[4];
|
|
} V4d;
|
|
} V4d;
|
|
typedef union {
|
|
typedef union {
|
|
struct { int x, y, z, w; };
|
|
struct { int x, y, z, w; };
|
|
|
|
+ struct { V2i xy; V2i zw; };
|
|
int c[4];
|
|
int c[4];
|
|
} V4i;
|
|
} V4i;
|
|
typedef union {
|
|
typedef union {
|
|
struct { unsigned int x, y, z, w; };
|
|
struct { unsigned int x, y, z, w; };
|
|
|
|
+ struct { V2u xy; V2u zw; };
|
|
unsigned int c[4];
|
|
unsigned int c[4];
|
|
} V4u;
|
|
} V4u;
|
|
|
|
|