Kohi Game Engine
|
A 4-element vector. More...
#include <math_types.h>
Data Fields | |
f32 | elements [4] |
An array of x, y, z, w. More... | |
union { | |
struct { | |
union { | |
f32 x | |
The first element. More... | |
f32 r | |
The first element. More... | |
f32 s | |
The first element. More... | |
} | |
union { | |
f32 y | |
The second element. More... | |
f32 g | |
The third element. More... | |
f32 t | |
The third element. More... | |
} | |
union { | |
f32 z | |
The third element. More... | |
f32 b | |
The third element. More... | |
f32 p | |
The third element. More... | |
f32 width | |
The third element. More... | |
} | |
union { | |
f32 w | |
The fourth element. More... | |
f32 a | |
The fourth element. More... | |
f32 q | |
The fourth element. More... | |
f32 height | |
The fourth element. More... | |
} | |
} | |
}; | |
A 4-element vector.
union { ... } |
f32 a |
The fourth element.
f32 b |
The third element.
f32 elements[4] |
An array of x, y, z, w.
f32 g |
The third element.
f32 height |
The fourth element.
f32 p |
The third element.
f32 q |
The fourth element.
f32 r |
The first element.
f32 s |
The first element.
f32 t |
The third element.
f32 w |
The fourth element.
f32 width |
The third element.
f32 x |
The first element.
f32 y |
The second element.
f32 z |
The third element.