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