summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/math.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/lib/math.h b/include/lib/math.h
index 1b27fe54..d3379e7f 100644
--- a/include/lib/math.h
+++ b/include/lib/math.h
@@ -3,8 +3,6 @@
#include "types.h"
-extern "C" u32 FastDivide(u32 a, u32 b);
-
// 20.12 fixed point number
typedef u32 p32;
@@ -15,4 +13,17 @@ typedef struct {
/* c */
} Vec3p;
+typedef struct {
+ /* 00 */ p32 x;
+ /* 04 */ p32 y;
+ /* 08 */ p32 z;
+ /* 0c */ p32 w;
+ /* 10 */
+} Vec4p;
+
+extern "C" u32 FastDivide(u32 a, u32 b);
+extern "C" bool Approach(unk32 *src, unk32 dest, unk32 step);
+extern "C" bool Approach_thunk(unk32 *src, unk32 dest, unk32 step);
+extern "C" bool func_01ffec34(Vec4p *param1, Vec4p *param2);
+
#endif