From 1efdb8ab18042d9efc7c2e6addf7f414fbee5590 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Tue, 21 Apr 2026 19:55:51 +0200 Subject: Added graphics functions --- src/phy_math.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/phy_math.h (limited to 'src/phy_math.h') 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 -- cgit v1.3