diff options
Diffstat (limited to 'lib/types.h')
| -rw-r--r-- | lib/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/types.h b/lib/types.h index 0619c8a..8618df9 100644 --- a/lib/types.h +++ b/lib/types.h @@ -8,3 +8,5 @@ vec2 dp_vec2_add(vec2, vec2); vec2 dp_vec2_sub(vec2, vec2); vec2 dp_vec2_mul(vec2, float scalar); vec2 dp_vec2_dot(vec2, vec2); +float dp_vec2_length(vec2); +vec2 dp_vec2_normal(vec2); |
