From 884bac2a767bf5bf77413c055a6484a7ea87700c Mon Sep 17 00:00:00 2001 From: hybrid Date: Sat, 25 Jul 2026 15:58:46 +0300 Subject: upd: tmp --- include/vector.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/vector.h') diff --git a/include/vector.h b/include/vector.h index fe6c563..72e6523 100644 --- a/include/vector.h +++ b/include/vector.h @@ -3,7 +3,7 @@ typedef struct { double x, y, z; } Vec3; -static inline Vec3 vec3_add(Vec3 a, Vec3 b); -static inline Vec3 vec3_sub(Vec3 a, Vec3 b); -static inline Vec3 vec3_mul_scalar(Vec3 a, double s); -static inline double +static inline double vec3_magnitude(Vec3 v); +static inline Vec3 vec3_diff(Vec3 a, Vec3 b); +static inline Vec3 vec3_normalize(Vec3 v); +static inline Vec3 vec3_mul(Vec3 v, double n); -- cgit v1.3.1