SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef DOLPHIN_MTX_TYPES_H
2#define DOLPHIN_MTX_TYPES_H
3
4#include <platform.h>
5
6#include "dolphin/mtx/forward.h" // IWYU pragma: export
8
9struct Vec2 {
11};
12
13struct Vec3 {
14 f32 x, y, z;
15};
16
17struct Vec4 {
18 f32 x, y, z, w;
19};
20
21struct U8Vec4 {
22 u8 x, y, z, w;
23};
24
25struct S8Vec3 {
26 s8 x, y, z;
27};
28
29struct S16Vec3 {
30 s16 x, y, z;
31};
32
33struct S32Vec2 {
35};
36
37struct S32Vec3 {
38 s32 x, y, z;
39};
40
41struct IntVec2 {
42 int x, y;
43};
44
45struct IntVec3 {
46 int x, y, z;
47};
48
49#endif
signed char s8
A signed 8-bit integer.
Definition platform.h:8
float f32
A 32-bit floating-point number.
Definition platform.h:62
signed short s16
A signed 16-bit integer.
Definition platform.h:11
signed long s32
A signed 32-bit integer.
Definition platform.h:14
unsigned char u8
An unsigned 8-bit integer.
Definition platform.h:20
Definition types.h:41
int y
Definition types.h:42
int x
Definition types.h:42
Definition types.h:45
int z
Definition types.h:46
int y
Definition types.h:46
int x
Definition types.h:46
Definition types.h:29
s16 x
The x component.
Definition types.h:30
s16 z
The z component.
Definition types.h:30
s16 y
The y component.
Definition types.h:30
Definition types.h:33
s32 y
The y component.
Definition types.h:34
s32 x
The x component.
Definition types.h:34
Definition types.h:37
s32 x
The x component.
Definition types.h:38
s32 y
The y component.
Definition types.h:38
s32 z
The z component.
Definition types.h:38
Definition types.h:25
s8 y
The y component.
Definition types.h:26
s8 x
The x component.
Definition types.h:26
s8 z
The z component.
Definition types.h:26
Definition types.h:21
u8 x
Definition types.h:22
u8 w
Definition types.h:22
u8 z
Definition types.h:22
u8 y
Definition types.h:22
Definition types.h:9
f32 x
The x component.
Definition types.h:10
f32 y
The y component.
Definition types.h:10
Definition types.h:13
f32 x
The x component.
Definition types.h:14
f32 z
The z component.
Definition types.h:14
f32 y
The y component.
Definition types.h:14
Definition types.h:17
f32 x
The x component.
Definition types.h:18
f32 w
The w component.
Definition types.h:18
f32 z
The z component.
Definition types.h:18
f32 y
The y component.
Definition types.h:18