summaryrefslogtreecommitdiff
path: root/include/lib/math.h
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-05-03 15:35:43 +0200
committerAetias <aetias@outlook.com>2024-05-03 15:35:43 +0200
commitcdf3bb7553cccec867256d6713ca77c8cf3cbd26 (patch)
tree1367270fbeee50d6405588af8b15cb5e732f8b7c /include/lib/math.h
parent6bce0e739d89da2f75149e4cab11393866b7427e (diff)
parent5c08baf1c24e50891ea12e8dcd0038c935875631 (diff)
Merge branch 'main' into fix-build
Diffstat (limited to 'include/lib/math.h')
-rw-r--r--include/lib/math.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/lib/math.h b/include/lib/math.h
index 8790c9f6..a8951eb4 100644
--- a/include/lib/math.h
+++ b/include/lib/math.h
@@ -14,6 +14,18 @@ typedef s16 q4;
#define ROUND_Q20(n) (((s32)(n) + 0x800) >> 12)
typedef struct {
+ /* 0 */ s8 x;
+ /* 1 */ s8 y;
+ /* 2 */
+} Vec2b;
+
+typedef struct {
+ /* 0 */ s16 x;
+ /* 1 */ s16 y;
+ /* 2 */
+} Vec2s;
+
+typedef struct {
/* 0 */ q20 x;
/* 4 */ q20 y;
/* 8 */ q20 z;