feat: add c++ file and remove mconfig file

This commit is contained in:
2025-08-11 23:38:45 +02:00
parent bc9c9b2a94
commit 78a6edf84b
11 changed files with 120 additions and 88 deletions

View File

@@ -300,4 +300,22 @@ Mat4f_t mat4f_tpo(const Mat4f_t *restrict m)
Mat4f_t res = mat4f_clone(m);
mat4f_tpo_r(&res);
return res;
}
}
float mat4f_det(const Mat4f_t* m)
{
float det;
return det;
}
Mat4f_t* mat4f_inv_r(Mat4f_t* __restrict m)
{
return m;
}
Mat4f_t mat4f_inv(const Mat4f_t* m)
{
Mat4f_t mout = mat4f_clone(m);
mat4f_inv_r(&mout);
return mout;
}