diff options
| author | Preston Pan <preston@nullring.xyz> | 2023-02-07 00:20:32 -0800 |
|---|---|---|
| committer | Preston Pan <preston@nullring.xyz> | 2023-02-07 00:20:32 -0800 |
| commit | 1afce727a1398f601b3cdfb21f6824930d890bc7 (patch) | |
| tree | 9378934f70a67a82f6e090a750d84745f6236fce /vector.h | |
| parent | 1b52973f3182e273c6348b0c1e7a69c9d5b401e5 (diff) | |
Diffstat (limited to 'vector.h')
| -rw-r--r-- | vector.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,12 +1,13 @@ #ifndef VECTOR #define VECTOR +typedef char uint8 typedef struct Vector { int mx; int my; } vector_t; vector_t init_vector(int mx, int my); -int vector_equals(vector_t v1, vector_t v2); +uint8 vector_equals(vector_t v1, vector_t v2); vector_t vector_add(vector_t v1, vector_t v2); vector_t vector_sub(vector_t v1, vector_t v2); |
