update vec2

This commit is contained in:
Gregory Wells
2025-08-03 14:32:56 -04:00
parent b6a25dd41b
commit 4b0875b01e
2 changed files with 9 additions and 54 deletions

8
utils/math/gryphn_vec2.c Normal file
View File

@@ -0,0 +1,8 @@
#include "gryphn_vec2.h"
gnVec2 gnVec2Subtract(gnVec2 a, gnVec2 b) {
gnVec2 ret;
ret.x = a.x - b.x;
ret.y = a.y - b.y;
return ret;
}