mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
match: func_800BCC70 (#539)
* match: func_800BCC70 * refac: replace magic value with constant
This commit is contained in:
+19
-9
@@ -10,6 +10,18 @@
|
||||
#include "gbi.h"
|
||||
#include "PR/libaudio.h"
|
||||
|
||||
typedef struct Vec4f {
|
||||
union {
|
||||
struct {
|
||||
f32 x;
|
||||
f32 y;
|
||||
f32 z;
|
||||
f32 w;
|
||||
};
|
||||
f32 f[4];
|
||||
};
|
||||
} Vec4f;
|
||||
|
||||
// Stolen from PD
|
||||
// This hacky structure allows coords to be accessed using
|
||||
// coord->x, coord->y and coord->z, but also as
|
||||
@@ -77,17 +89,15 @@ typedef struct Vec3i {
|
||||
};
|
||||
} Vec3i;
|
||||
|
||||
typedef struct Vec4f {
|
||||
typedef struct Vec2i {
|
||||
union {
|
||||
struct {
|
||||
f32 x;
|
||||
f32 y;
|
||||
f32 z;
|
||||
f32 w;
|
||||
};
|
||||
f32 f[4];
|
||||
struct {
|
||||
s32 x;
|
||||
s32 y;
|
||||
};
|
||||
s32 i[2];
|
||||
};
|
||||
} Vec4f;
|
||||
} Vec2i;
|
||||
|
||||
/* Size: 0x24 / 36 bytes */
|
||||
typedef struct SoundMask {
|
||||
|
||||
Reference in New Issue
Block a user