diff options
Diffstat (limited to 'src/phy_math.h')
| -rw-r--r-- | src/phy_math.h | 11 |
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 |
