aboutsummaryrefslogtreecommitdiffstats
path: root/src/phy_math.h
diff options
context:
space:
mode:
authorkotorifan <kotorifan05@gmail.com>2026-04-21 19:55:51 +0200
committerkotorifan <kotorifan05@gmail.com>2026-04-21 19:55:51 +0200
commit1efdb8ab18042d9efc7c2e6addf7f414fbee5590 (patch)
tree5ffd6553ab46e5465c0d056bc6658a23b27c5e64 /src/phy_math.h
parent476c10961d6ddba806cd9f587fc461c848d27401 (diff)
downloadtrashbinphysics-1efdb8ab18042d9efc7c2e6addf7f414fbee5590.tar.gz
Added graphics functions
Diffstat (limited to 'src/phy_math.h')
-rw-r--r--src/phy_math.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/phy_math.h b/src/phy_math.h
new file mode 100644
index 0000000..1110319
--- /dev/null
+++ b/src/phy_math.h
@@ -0,0 +1,11 @@
+#ifndef PHY_MATH
+#define PHY_MATH
+
+typedef struct {
+ float x;
+ float y;
+} Vec2d;
+
+Vec2d vec2d_add(Vec2d v1, Vec2d v2);
+Vec2d vec2d_sub(Vec2d v1, Vec2d )
+#endif