mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 10:34:23 +00:00
feat: add c++ file and remove mconfig file
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user