diff --git a/src/math/vec.h b/src/math/vec.h index 057bb91b..c631501f 100644 --- a/src/math/vec.h +++ b/src/math/vec.h @@ -58,12 +58,6 @@ float vec_arg(Vec2f v) return atan2f(v.y, v.x); } -static inline -float vec_mag(Vec2f v) -{ - return sqrtf(v.x * v.x + v.y * v.y); -} - static inline Vec2f vec_sum(Vec2f v1, Vec2f v2) {