diff options
| author | Preston Pan <preston@nullring.xyz> | 2023-02-06 22:55:20 -0800 |
|---|---|---|
| committer | Preston Pan <preston@nullring.xyz> | 2023-02-06 22:55:20 -0800 |
| commit | 0f726414cc0026691854bda9567ef959c7a2a976 (patch) | |
| tree | 2ddea95a79be29b865a97e3a84e32cefd165313a /vector.c | |
| parent | d9b0f00ebec0c90a70bc823f8d3eb5af1128a605 (diff) | |
added new stuff
Diffstat (limited to 'vector.c')
| -rw-r--r-- | vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ vectorp_t init_vectorp(vector_t* vectors, int length) { vectorP.length = length; return vectorP; } -bool vector_equals(vector_t v1, vector_t v2) { +int vector_equals(vector_t v1, vector_t v2) { return v1.mx == v2.mx && v1.my == v2.my; } vector_t vector_add(vector_t v1, vector_t v2) { |
