X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-cmath;a=blobdiff_plain;f=src%2Fcgmath.h;fp=src%2Fcgmath.h;h=9ec2fc8bc43c9dd4692dc2a5d965aac668a3cdee;hp=36632f2b442d15698a77d3d71c5c5439fa9777c8;hb=ceeb6a82a05fb8e4a741adf5916085da5fadb11c;hpb=1acd12168f51c4cd19f9f40c3b4bd5d77d424801 diff --git a/src/cgmath.h b/src/cgmath.h index 36632f2..9ec2fc8 100644 --- a/src/cgmath.h +++ b/src/cgmath.h @@ -138,7 +138,14 @@ static inline void cgm_mgetrow_v4(cgm_vec4 *v, const float *m, int idx); static inline void cgm_mgetcol_v3(cgm_vec3 *v, const float *m, int idx); static inline void cgm_mgetcol_v4(cgm_vec4 *v, const float *m, int idx); +static inline void cgm_msubmatrix(float *m, int row, int col); static inline void cgm_mupper3(float *m); +static inline float cgm_msubdet(float *m, int row, int col); +static inline float cgm_mcofactor(float *m, int row, int col); +static inline float cgm_mdet(float *m); +static inline void cgm_mtranspose(float *m); +static inline void cgm_mcofmatrix(float *m); +static inline int cgm_minverse(float *m); /* returns 0 on success, -1 for singular */ #include "cgmvec3.inl" #include "cgmvec4.inl"