update vec2
This commit is contained in:
8
utils/math/gryphn_vec2.c
Normal file
8
utils/math/gryphn_vec2.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user