diff options
author | riton <riton@riton.home> | 2025-03-29 21:37:46 +0300 |
---|---|---|
committer | riton <riton@riton.home> | 2025-03-29 21:37:46 +0300 |
commit | 1b6ecc22e77b7aa1fee16420b041c1dea1925052 (patch) | |
tree | 6816b0d3ebcfa30492371233fcce253ef5275f31 /matematik.h |
Diffstat (limited to 'matematik.h')
-rw-r--r-- | matematik.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/matematik.h b/matematik.h new file mode 100644 index 0000000..e042d2f --- /dev/null +++ b/matematik.h @@ -0,0 +1,11 @@ +#ifndef MATEMATIK_H +#define MATEMATIK_H + +#include <raylib.h> +#include <math.h> + +float distance(Vector2 a, Vector2 b); +Vector2 normalize_vector(Vector2 vec); +Vector2 vector_diff(Vector2 a, Vector2 b); + +#endif |