Add missing inline

This commit is contained in:
Alex Selimov 2026-10-31 23:12:23 -04:00
parent 16b0218556
commit c9b25ea88e

View file

@ -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); 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); double inv_det = 1.0 / mat3_det(a);
struct Vec3 r1 = vec3_scale( struct Vec3 r1 = vec3_scale(
(struct Vec3){ (struct Vec3){