summaryrefslogtreecommitdiff
path: root/src/math/vec2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/vec2.c')
-rw-r--r--src/math/vec2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math/vec2.c b/src/math/vec2.c
index 86192dc..152f965 100644
--- a/src/math/vec2.c
+++ b/src/math/vec2.c
@@ -2,6 +2,8 @@
#include "../util/assert.h"
#include "../core/mem.h"
+Vec2 vec2zero = { 0, 0};
+
void vec2_scale(Vec2* v, float k, Vec2* out) {
ssr_assert(v && out);
out->x = v->x * k;