diff options
| author | chai <chaifix@163.com> | 2019-12-08 00:23:50 +0800 | 
|---|---|---|
| committer | chai <chaifix@163.com> | 2019-12-08 00:23:50 +0800 | 
| commit | 3df29dc54c509c983dc8a0e23eab4160d48144f2 (patch) | |
| tree | d8c5287c9979e731e373e7a1481aadd79d3f071b /src/math/vec2.c | |
| parent | 8e684dc0c76708e3174f005aebcaabc144b85500 (diff) | |
+clipping
Diffstat (limited to 'src/math/vec2.c')
| -rw-r--r-- | src/math/vec2.c | 2 | 
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; | 
