some utils jazz

This commit is contained in:
Gregory Wells
2025-06-15 18:51:30 -04:00
parent 5b05fb287d
commit 954037b4ea
4 changed files with 65 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ typedef struct gnVec2 {
#endif
} gnVec2;
static inline const gnVec2 gnVec2Subtract(gnVec2 a, gnVec2 b) { return (gnVec2){ a.x - b.x, a.y - b.y }; }
typedef gnVec2 gnFVec2;
typedef gnVec2 gnFloat2;