Decompiled some math_util.c (#43)

This commit is contained in:
CoderStig
2021-10-27 14:13:08 -06:00
committed by GitHub
parent 8ec9fb8b88
commit 43229c00cb
9 changed files with 3951 additions and 4 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
#include "ultra64.h"
typedef struct {
f32 x, y, z;
} Vec3f;
typedef f32 Vec3f[3];
typedef s16 Vec3s[3];
typedef enum {
/* 0x00 */ COURSE_MARIO_RACEWAY = 0,
+26
View File
@@ -53,7 +53,33 @@ struct UnkStruct_800DC5EC {
u16 unk30;
u16 unk32;
};
// math util structs
struct UnkStruct_802B51E8 {
f32 unk0;
f32 unk4;
f32 unk8;
f32 unkC;
};
struct UnkStruct_802B52D8 {
f32 unk0;
f32 unk4;
f32 unk8;
};
struct UnkStruct_802B52BC {
s16 unk0;
s16 unk2;
s16 unk4;
};
struct UnkStruct_802B53C8 {
f32 unk0;
f32 unk4;
f32 unk8;
f32 unkC;
};
// end math util structs
typedef struct {
s16 ob[3]; /* x, y, z */
s16 tc[2]; /* texture coord */