summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:06:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:06:19 -0400
commita6ac85c3eaff90c0ff0400312f43bec8188b9833 (patch)
tree91760b09f7a1e162394621c726a6dbb1a533952c
parent54a229c4364a0d15fff7efae8c97a39431122e54 (diff)
TMath: Add `TMath`
-rw-r--r--context.h6
-rw-r--r--include/pso/TMath.h14
2 files changed, 20 insertions, 0 deletions
diff --git a/context.h b/context.h
index 3ef2a01..cdfe79f 100644
--- a/context.h
+++ b/context.h
@@ -556,6 +556,12 @@ struct packet_header {
void bswap();
} __packed__;
+// pso/TMath.h
+struct vec2f {
+ float x;
+ float y;
+};
+
// pso/TPlyGuildCardTag.h
struct gc_tag {
u8 tag0;
diff --git a/include/pso/TMath.h b/include/pso/TMath.h
new file mode 100644
index 0000000..799c498
--- /dev/null
+++ b/include/pso/TMath.h
@@ -0,0 +1,14 @@
+#ifndef TMATH_H
+#define TMATH_H
+
+#include <global_types.h>
+#include <pso/macros.h>
+#include <pso/protocol.h>
+#include <pso/TArray.h>
+
+struct vec2f {
+ float x;
+ float y;
+};
+
+#endif