From c9b25ea88e8e15c4a7f4f271fc48fe0088005ce5 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Sat, 31 Oct 2026 23:12:23 -0400 Subject: [PATCH] Add missing inline --- mathprimitives/mathprimitives.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathprimitives/mathprimitives.h b/mathprimitives/mathprimitives.h index ac66689..87784f7 100644 --- a/mathprimitives/mathprimitives.h +++ b/mathprimitives/mathprimitives.h @@ -99,7 +99,7 @@ static inline double mat3_det(struct Mat3 a) { a.r1.z * (a.r2.x * a.r3.y - a.r2.y * a.r3.x); } -static struct Mat3 mat3_inv(struct Mat3 a) { +static inline struct Mat3 mat3_inv(struct Mat3 a) { double inv_det = 1.0 / mat3_det(a); struct Vec3 r1 = vec3_scale( (struct Vec3){